📄 thread.h
字号:
/* * thread.h * * Copyright (C) 2006 Insigme Co., Ltd * * Authors: * - Limin Jin * * This software has been developed while working on the Linux Unified Kernel * project (http://linux.insigma.com.cn) in the Insigma Reaserch Institute, * which is a subdivision of Insigma Co., Ltd (http://www.insigma.com.cn). * * The project is sponsored by Insigma Co., Ltd. * * The authors can be reached at linux@insigma.com.cn. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * * Revision History: * Jan 2006 - Created. *//* * thread.h: thread implementation * Reference to ReactOS code */#ifndef _KTHREAD_H#define _KTHREAD_H#ifdef CONFIG_UNIFIED_KERNELtypedef void *PKSTART_ROUTINE;typedef struct kprocess * PKPROCESS;typedef void (STDCALL *PKSYSTEM_ROUTINE)(PKSTART_ROUTINE StartRoutine, PVOID StartContext);VOIDSTDCALLKeInitializeThread(PKPROCESS Process, PKTHREAD Thread, PKSYSTEM_ROUTINE SystemRoutine, PKSTART_ROUTINE StartRoutine, //FIXME PVOID StartContext, //FIXME PCONTEXT Context, PVOID Teb, PVOID KernelStack);VOIDSTDCALLKe386InitThreadWithContext(PKTHREAD Thread, PKSYSTEM_ROUTINE SystemRoutine, PKSTART_ROUTINE StartRoutine, //FIXME PVOID StartContext, //FIXME PCONTEXT Context);VOIDSTDCALLPspUserThreadStartup(PKSTART_ROUTINE StartRoutine, PVOID StartContext);#endif /* CONFIG_UNIFIED_KERNEL */#endif /* _KTHREAD_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -