MCPcopy Create free account
hub / github.com/Kitware/CMake / sleepFor

Function sleepFor

Tests/RunCMake/GoogleTest/timeout_test.cpp:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include <stdio.h>
12
13void sleepFor(unsigned seconds)
14{
15#if defined(_WIN32)
16 Sleep(seconds * 1000);
17#else
18 sleep(seconds);
19#endif
20}
21
22int main(int argc, char** argv)
23{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…