HW_Lib/sim/thread/sim_thread.h

18 lines
321 B
C

#ifndef HW_LIB_SIM_THREAD_H
#define HW_LIB_SIM_THREAD_H
#ifdef __cplusplus
extern "C" {
#endif
#include "SDL3/SDL.h"
typedef int (*Thread_Func_t)(void *pArg);
SDL_Thread *ThreadCreat(Thread_Func_t func, char *name, void *pArg);
void ThreadStop(SDL_Thread *t);
#ifdef __cplusplus
}
#endif
#endif //HW_LIB_SIM_THREAD_H