Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
40
namespace 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_time
Function · 0.70
flush
Method · 0.50
run
Method · 0.50
main_loop
Method · 0.50
run
Method · 0.50
do_chunked_io
Method · 0.50
html5_spin_until
Method · 0.50
Calls
no outgoing calls
Tested by
1
test_time
Function · 0.56