HW_Lib/sim/thread/thread.cpp

12 lines
226 B
C++

#include "sim_thread.h"
#include <windows.h>
#include <process.h>
void ThreadCreat(Thread_Func_t func, unsigned int stackSize, void *pArg) {
_beginthread(func, stackSize, pArg);
}
void ThreadStop() {
_endthread();
}