MCPcopy Create free account
hub / github.com/Kitware/VTK / sleep_ms

Function sleep_ms

ThirdParty/libproj/vtklibproj/src/networkfilemanager.cpp:79–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77using namespace NS_PROJ::internal;
78
79NS_PROJ_START
80
81// ---------------------------------------------------------------------------
82
83static void sleep_ms(int ms) {
84#ifdef _WIN32
85 Sleep(ms);
86#else
87 usleep(ms * 1000);
88#endif
89}
90
91// ---------------------------------------------------------------------------
92

Callers 3

initializeMethod · 0.85
openMethod · 0.85
pj_curl_read_rangeFunction · 0.85

Calls 1

usleepFunction · 0.85

Tested by

no test coverage detected