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

Function thread_wait

server/src/system.c:386–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384}
385
386void thread_wait(void *thread)
387{
388#if defined(CONF_FAMILY_UNIX)
389 pthread_join((pthread_t)thread, NULL);
390#elif defined(CONF_FAMILY_WINDOWS)
391 WaitForSingleObject((HANDLE)thread, INFINITE);
392#else
393 #error not implemented
394#endif
395}
396
397void thread_destroy(void *thread)
398{

Callers 1

RunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected