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

Function main

test/browser/gl_only_in_pthread.c:91–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91int main()
92{
93 if (!emscripten_supports_offscreencanvas())
94 {
95 printf("Current browser does not support OffscreenCanvas. Skipping this test.\n");
96#ifdef REPORT_RESULT
97 REPORT_RESULT(0);
98#endif
99 return 0;
100 }
101 CreateThread();
102 emscripten_async_call(PollThreadExit, 0, 100);
103 return 0;
104}

Callers

nothing calls this directly

Calls 2

printfFunction · 0.85
CreateThreadFunction · 0.70

Tested by

no test coverage detected