MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / main

Function main

test/pthread/test_pthread_attr_getstack.c:42–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42int main() {
43 // Run TestStack both on the main thread and on a secondary thread
44 TestStack();
45 pthread_t thread;
46 int rc;
47
48 rc = pthread_create(&thread, NULL, ThreadMain, NULL);
49 assert(rc == 0);
50
51 rc = pthread_join(thread, NULL);
52 assert(rc == 0);
53
54 printf("done\n");
55 return 0;
56}

Callers

nothing calls this directly

Calls 3

TestStackFunction · 0.85
printfFunction · 0.85
assertFunction · 0.50

Tested by

no test coverage detected