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

Function ThreadMain

test/pthread/test_pthread_printf.c:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <assert.h>
11
12void *ThreadMain(void *arg) {
13 printf("Hello from thread, string: %s, int: %d, double: %g\n", "str", 5, 42.0);
14 return 0;
15}
16
17int main() {
18 pthread_t thread;

Callers

nothing calls this directly

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected