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

Function thread_sleep

server/src/system.c:418–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416}
417
418void thread_sleep(int milliseconds)
419{
420#if defined(CONF_FAMILY_UNIX)
421 usleep(milliseconds*1000);
422#elif defined(CONF_FAMILY_WINDOWS)
423 Sleep(milliseconds);
424#else
425 #error not implemented
426#endif
427}
428
429void thread_detach(void *thread)
430{

Callers 3

SSLCheckThreadFunction · 0.85
JSONUpdateThreadMethod · 0.85
offlineAlarmThreadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected