param.h

来自「操作系统SunOS 4.1.3版本的源码」· C头文件 代码 · 共 31 行

H
31
字号
/* @(#) param.h 1.1 92/07/30 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	2	/* 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		2	/* number of lwp contexts to preallocate */#define	MAXMEMTYPES	30	/* maximum number of memory caches */#define	MAXINTMEMTYPES	5	/* maximum number of interrupt caches */#define MAXARGS		10	/* 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__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?