Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ CreateThread
Function
CreateThread
test/core/pthread/create.c:30–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
pthread_t thread[NUM_THREADS];
29
30
void CreateThread(long i) {
31
int rc = pthread_create(&thread[i], NULL, ThreadMain, (void*)i);
32
assert(rc == 0);
33
}
34
35
void main_iter() {
36
static int main_adds = 0;
Callers
1
main
Function · 0.70
Calls
1
assert
Function · 0.50
Tested by
no test coverage detected