Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ CreateThread
Function
CreateThread
test/pthread/main_thread_join.c:37–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
35
}
36
37
pthread_t CreateThread() {
38
pthread_t ret;
39
int rc = pthread_create(&ret, NULL, ThreadMain, (void*)0);
40
assert(rc == 0);
41
return ret;
42
}
43
44
int main() {
45
thread = CreateThread();
Callers
1
main
Function · 0.70
Calls
1
assert
Function · 0.50
Tested by
no test coverage detected