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

Function thread_func

test/core/test_stdio_locking.c:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void thread_func() {
30 char *msg = char_repeat(100, 'a');
31 for (int i = 0; i < 10; ++i) {
32 printf("%s\n", msg);
33 }
34 free(msg);
35}
36
37#if defined(__EMSCRIPTEN_PTHREADS__)
38void *thread_main(void *arg) {

Callers 1

thread_mainFunction · 0.70

Calls 3

char_repeatFunction · 0.85
printfFunction · 0.85
freeFunction · 0.70

Tested by

no test coverage detected