📄 prthread.h
字号:
/*
PrThread.h
Copyright (C) 2004-2005 DVBStudio. All rights reserved.
*/
#ifndef _PrTHERAD_H_
#define _PrTHERAD_H_
#include "PrTypes.h"
#include "PrTime.h"
PR_BEGIN_EXTERN_C
#define PrPRIORITY_MIN 0
#define PrPRIORITY_MAX 255
typedef struct PDThread *PRThread;
PRStatus PrThreadInit(void);
PRStatus PrThreadTerm(void);
PRThread PrThreadCreate(UINT32 stackSize,
UINT32 priority,void (*func)(void *arg), void *arg);
void PrThreadDestroy(PRThread thread);
PRStatus PrThreadSetPriority(PRThread thread,UINT32 priority);
PRStatus PrThreadGetPriority(const PRThread thread,UINT32 *priority);
PRThread PrThreadGetSelf(void);
void PrThreadExit(void);
PRStatus PrThreadJoin(PRThread thread);
void PrThreadYield(void);
void PrThreadSuspend(PRThread thread);
void PrThreadResume(PRThread thread);
void PrThreadSleep(UINT32 timeout);
PR_END_EXTERN_C
#endif /* _PrTHERAD_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -