MCPcopy Create free account
hub / github.com/cppla/ServerStatus / thread_detach

Function thread_detach

server/src/system.c:429–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427}
428
429void thread_detach(void *thread)
430{
431#if defined(CONF_FAMILY_UNIX)
432 pthread_detach((pthread_t)(thread));
433#elif defined(CONF_FAMILY_WINDOWS)
434 CloseHandle(thread);
435#else
436 #error not implemented
437#endif
438}
439
440
441

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected