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

Function sleep_while

lib_acl_cpp/samples/http_request_manager/main.cpp:11–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9static bool __debug = false;
10
11static void sleep_while(int n)
12{
13 for (int i = 0; i < n; i++) {
14 putchar('.');
15 fflush(stdout);
16 sleep(1);
17 }
18 printf("\r\n");
19}
20
21// ��ʼ������
22static void init(const char* addrs, int count)

Callers 2

initFunction · 0.70
endFunction · 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…