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

Function test_thread

lib_acl/samples/thread/thread2/main.c:95–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95static void test_thread(void)
96{
97 acl_pthread_attr_t attr;
98 acl_pthread_t t1;
99
100 acl_pthread_attr_init(&attr);
101 acl_pthread_attr_setstacksize(&attr, 10240000);
102 acl_pthread_create(&t1, &attr, thread_main, NULL);
103 acl_pthread_join(t1, NULL);
104 printf(">>> test_pthread_once: over now, enter any key to exit...\n");
105 getchar();
106}
107
108int main(int argc acl_unused, char *argv[] acl_unused)
109{

Callers 1

mainFunction · 0.70

Calls 4

acl_pthread_attr_initFunction · 0.85
acl_pthread_createFunction · 0.85
acl_pthread_joinFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…