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

📄 isusemt.c

📁 T-kernel 的extension源代码
💻 C
字号:
/* *---------------------------------------------------------------------- *    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. * *---------------------------------------------------------------------- *//* *	isusemt.c (libtkse) */#include <basic.h>#include <tk/typedef.h>#include <sys/libs.h>/* * When symbol value (address) of _usemt_ (defined in crtbt) is *	0: single-task *	other than 0: multi-task *//**** The following specifications are invalid ****//* * When symbol value (address) of _usemt_ is *	0: single-task *	other than 0: multi-task * *	libsvc defines default setting of _usemt_ in its usemt.S, *	and by default, it is set to single-task. *	However, libtk has own setting of _usemt_ so that it is set to *	multi-task by default. * *	If sdata is used, declare them as an array so that they *	are not treated as variables within sdata. */IMPORT	char	_usemt_[];/* * When used for multi-task: TRUE */EXPORT BOOL _isUseMT( void ){	return ( &_usemt_ != 0 );}

⌨️ 快捷键说明

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