15 lines
290 B
C
15 lines
290 B
C
|
#ifndef HW_LIB_SIM_THREAD_H
|
||
|
#define HW_LIB_SIM_THREAD_H
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
typedef void (*Thread_Func_t)(void *pArg);
|
||
|
|
||
|
void ThreadCreat(Thread_Func_t func, unsigned int stackSize, void *pArg);
|
||
|
void ThreadStop();
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
#endif //HW_LIB_SIM_THREAD_H
|