Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ init_file_lock
Function
init_file_lock
system/lib/pthread/pthread_create.c:63–65 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
61
weak_alias(dummy_file, __stderr_used);
62
63
static void init_file_lock(FILE *f) {
64
if (f && f->lock<0) f->lock = 0;
65
}
66
67
static int tl_lock_count;
68
static int tl_lock_waiters;
Callers
1
__pthread_create
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected