MCPcopy Create free account
hub / github.com/apple/foundationdb / startThread

Function startThread

flow/Platform.actor.cpp:2845–2847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2843
2844#ifdef _WIN32
2845THREAD_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__))
2849THREAD_HANDLE startThread(void* (*func)(void*), void* arg, int stackSize, const char* name) {
2850 pthread_t t;

Callers 2

setupRunLoopProfilerFunction · 0.70
startThreadMethod · 0.70

Calls 2

TraceEventClass · 0.85
detailMethod · 0.80

Tested by

no test coverage detected