12 lines
226 B
C++
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();
|
||
|
}
|