Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crawl/crawl
/ usleep
Function
usleep
crawl-ref/source/syscalls.cc:268–273 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
266
267
# ifdef TARGET_OS_WINDOWS
268
void usleep(unsigned long time)
269
{
270
ASSERT(time > 0);
271
ASSERT(!(time % 1000));
272
Sleep(time/1000);
273
}
274
# else
275
276
#include <sys/time.h>
Callers
5
_do_cmd_repeat
Function · 0.85
check
Method · 0.85
finish_message
Method · 0.85
delay
Function · 0.85
delay
Function · 0.85
Calls
1
select
Function · 0.85
Tested by
no test coverage detected