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

Function sleep

src/core/os.cpp:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40namespace os
41{
42 void sleep(u32 ms)
43 {
44#if CROWN_PLATFORM_WINDOWS
45 Sleep(ms);
46#else
47 usleep(ms * 1000);
48#endif
49 }
50
51 void *library_open(const char *path)
52 {

Callers 7

test_timeFunction · 0.70
flushMethod · 0.50
runMethod · 0.50
main_loopMethod · 0.50
runMethod · 0.50
do_chunked_ioMethod · 0.50
html5_spin_untilMethod · 0.50

Calls

no outgoing calls

Tested by 1

test_timeFunction · 0.56