📄 threadlibrary.h
字号:
#ifndef _THREADLIBRARY_H_
#define _THREADLIBRARY_H_
#ifdef __cplusplus
extern "C"
{
#endif
//****** defination is here******
void th_init(void);
typedef int th_id_t;
#define NULL_THREAD 0
th_id_t th_fork(int s);
void th_yield(void);
void th_exit();
int th_kill(th_id_t t);
th_id_t th_myid();
//****** defination is end*******
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -