MCPcopy Create free account
hub / github.com/acl-dev/acl / sleep_while

Function sleep_while

lib_acl_cpp/samples/connect_manager/main.cpp:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10static acl::thread_pool* __threads = NULL;
11
12static void sleep_while(int n)
13{
14 for (int i = 0; i < n; i++) {
15 putchar('.');
16 fflush(stdout);
17 sleep(1);
18 }
19 printf("\r\n");
20}
21
22static void check_all_connections(void)
23{

Callers 1

runFunction · 0.70

Calls 1

sleepFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…