MCPcopy Create free account
hub / github.com/crownengine/crown / thread_proc

Function thread_proc

src/core/thread/thread.cpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38#if CROWN_PLATFORM_WINDOWS
39static DWORD WINAPI thread_proc(void *arg)
40{
41 Thread *thread = (Thread *)arg;
42 thread->_priv->_sem.post();
43 return thread->_priv->_function(thread->_priv->_user_data);
44}
45#else
46static void *thread_proc(void *arg)
47{

Callers

nothing calls this directly

Calls 1

postMethod · 0.45

Tested by

no test coverage detected