⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 libtkse.h

📁 T-kernel 的extension源代码
💻 H
字号:
/* *---------------------------------------------------------------------- *    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. * *---------------------------------------------------------------------- *//* *	libtkse.h (libtkse) * *	Common definition of process-specific library */#include <basic.h>#include <tk/typedef.h>#include <sys/libs.h>#include <sys/memalloc.h>#include <extension/tkcall.h>#include <extension/typedef.h>#include <extension/errno.h>/* * Initialization of exclusive control lock shared in libraries */IMPORT ER _init_liblock( void );/* ------------------------------------------------------------------------ */IMPORT MACB	_Lmacb;		/* malloc management information *//* * Exclusive control of memory allocation */#define	MEMLOCK(ERR_RET) {						\		if ( _lib_lock(_LL_MEMALLOC, TRUE) < E_OK ) {	\			ERR_RET;	\		}	\	}#define	MEMUNLOCK() {							\		_lib_unlock(_LL_MEMALLOC);				\	}/* ------------------------------------------------------------------------ */

⌨️ 快捷键说明

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