MCPcopy 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
268void 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_repeatFunction · 0.85
checkMethod · 0.85
finish_messageMethod · 0.85
delayFunction · 0.85
delayFunction · 0.85

Calls 1

selectFunction · 0.85

Tested by

no test coverage detected