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

Function test

lib_protocol/samples/httpd/main.c:253–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253static void test(void)
254{
255 acl_pthread_t tid;
256 acl_pthread_attr_t attr;
257
258 pthread_attr_init(&attr);
259 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
260 acl_pthread_create(&tid, &attr, thread_test, 0);
261 while (1) {
262 sleep(1);
263 }
264}
265
266int main(int argc, char *argv[])
267{

Callers 1

mainFunction · 0.70

Calls 2

acl_pthread_createFunction · 0.85
sleepFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…