31 arg->func = thread_func;
33 HANDLE thread = CreateThread(NULL, 0,
thread_wrapper, arg, 0, NULL);
60 arg->func = thread_func;
63 pthread_detach(thread);
void * thread_wrapper(void *arg)
A wrapper function arround a thread for multi platform thread implementation.
void start_simple_thread(void(*thread_func)(void))
Starts a new thread with the given function.
Exposes functions for the thread_handler.