Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
12
void *ThreadMain(void *arg) {
13
printf(
"Hello from thread, string: %s, int: %d, double: %g\n"
,
"str"
, 5, 42.0);
14
return 0;
15
}
16
17
int main() {
18
pthread_t thread;
Callers
nothing calls this directly
Calls
1
printf
Function · 0.85
Tested by
no test coverage detected