threads.h

来自「kaffe Java 解释器语言,源码,Java的子集系统,开放源代码」· C头文件 代码 · 共 49 行

H
49
字号
/* * mips/threads.h * Mips threading information. * * Copyright (c) 1996, 1997 *	Transvirtual Technologies, Inc.  All rights reserved. * * See the file "license.terms" for information on usage and redistribution  * of this file.  */#ifndef __mips_threads_h#define __mips_threads_h/**//* Thread handling *//**/#define	USE_INTERNAL_THREADS#if defined(INTERPRETER)#if !defined(_MIPS_SIM) || (_MIPS_SIM == _MIPS_SIM_ABI32)#define	THREADSTACKSIZE		(64 * 1024)#else#define	THREADSTACKSIZE		(128 * 1024)#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */#else#define	THREADSTACKSIZE		(32 * 1024)#endif/* * Stack offset. * This is the offset into the setjmp buffer where the stack pointer is * stored.  This may be different with different OSes. */#if !defined(SP_OFFSET)#if !defined(_MIPS_SIM) || (_MIPS_SIM == _MIPS_SIM_ABI32)#define SP_OFFSET               1#define FP_OFFSET		10#endif#if (_MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32)#define SP_OFFSET               1#define FP_OFFSET               23#endif#endif /* SP_OFFSET */#endif

⌨️ 快捷键说明

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