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

Function ThreadMain

test/pthread/main_thread_join.c:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void *ThreadMain(void *arg) {
29#ifdef TRY_JOIN
30 // Delay to force the main thread to try and fail a few times before
31 // succeeding.
32 while (tries < EXPECTED_TRIES) {}
33#endif
34 pthread_exit((void*)0);
35}
36
37pthread_t CreateThread() {
38 pthread_t ret;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected