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

Function ThreadMain

test/pthread/test_pthread_iostream.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <iostream>
11
12void *ThreadMain(void *arg)
13{
14 std::cout << "Hello from thread" << std::endl;
15
16 return 0;
17}
18
19int numThreadsToCreate = 1000;
20

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected