#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();
}