| 2843 | |
| 2844 | #ifdef _WIN32 |
| 2845 | THREAD_HANDLE startThread(void (*func)(void*), void* arg, int stackSize, const char* name) { |
| 2846 | return (void*)_beginthread(func, stackSize, arg); |
| 2847 | } |
| 2848 | #elif (defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)) |
| 2849 | THREAD_HANDLE startThread(void* (*func)(void*), void* arg, int stackSize, const char* name) { |
| 2850 | pthread_t t; |
no test coverage detected