prcinfo.h

来自「T-kernel 的extension源代码」· C头文件 代码 · 共 50 行

H
50
字号
/* *---------------------------------------------------------------------- *    T-Kernel / Standard Extension * *    Copyright (C) 2006 by Ken Sakamura. All rights reserved. *    T-Kernel / Standard Extension is distributed  *      under the T-License for T-Kernel / Standard Extension. *---------------------------------------------------------------------- * *    Version:   1.00.00 *    Released by T-Engine Forum(http://www.t-engine.org) at 2006/8/11. * *---------------------------------------------------------------------- *//* *	prcinfo.h (memory) * *	Common definitions of process management */#ifndef _PM_PRCINFO_H_#define _PM_PRCINFO_H_#include <basic.h>#include <extension/extension.h>#include <tk/tkernel.h>#include <tk/util.h>#include <sys/pinfo.h>#include <sys/util.h>#include <libstr.h>#include <tstring.h>#include <sys/queue.h>#include <sys/debug.h>#include <bzcomp.h>#include <sys/procdef.h>struct prcminfo {	PINFO	*pinfo;		/* Link to PINFO */	QUEUE	dynldq;		/* Link to dynamic load management information */};IMPORT	W		PINFO_sz;IMPORT	FastLock	ProcMgrLock;	/* Exclusive control lock for process management */IMPORT	PINFO		*TopPI;		/* Start of PINFO[] */#define	INIT_PINFO	TopPI		/* PINFO on initial process (INIT) */#endif  /* _PM_PRCINFO_H_ */

⌨️ 快捷键说明

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