31 lines
1.3 KiB
C
31 lines
1.3 KiB
C
/* @(#) param.h 1.1 94/10/31 Copyr 1987 Sun Micro */
|
|
/* Copyright (C) 1987. Sun Microsystems, Inc. */
|
|
#ifndef __PARAM_H__
|
|
#define __PARAM_H__
|
|
|
|
/*
|
|
* Tunable constants
|
|
*/
|
|
|
|
#define NUMAGENTS 1 /* initial allocation of agents */
|
|
#define NUMAGTMSGS 1 /* initial allocation of agent messages */
|
|
#define MAXALARMS 0 /* number of preallocated alarms */
|
|
#define MAXCTX 8 /* number of cached contexts */
|
|
#define MAXCONTEXT 8 /* number of cached per-process contexts */
|
|
#define CONDVAR_GUESS 32 /* initial allocation of cv_t's */
|
|
#define CVPS_GUESS CONDVAR_GUESS /* initial allocation of cvps_t's */
|
|
#define NUMHANDLERS 1 /* number of preallocated exception contexts */
|
|
#define MON_GUESS 1 /* number of monitors initially in cache */
|
|
#define MONPS_GUESS MON_GUESS /* initial allocation of monps_t's */
|
|
#define MAXLWPS 32 /* number of lwp contexts to preallocate */
|
|
#define MAXMEMTYPES 30 /* maximum number of memory caches */
|
|
#define MAXINTMEMTYPES 5 /* maximum number of interrupt caches */
|
|
#define MAXARGS 512 /* max. # args to lwp_create */
|
|
#define MAXPRIO 1000 /* max # priorities. Must be at least 256 */
|
|
#define MAXOBJS 100 /* initial allocation of objects */
|
|
#define MAXSLAVES 1 /* maximum number of slave threads */
|
|
#define NEXITHANDLERS 0 /* maximum number of exit handlers */
|
|
#define NUMLASTRITES 0 /* initial number of lastrites events */
|
|
|
|
#endif __PARAM_H__
|