MCPcopy 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

61weak_alias(dummy_file, __stderr_used);
62
63static void init_file_lock(FILE *f) {
64 if (f && f->lock<0) f->lock = 0;
65}
66
67static int tl_lock_count;
68static int tl_lock_waiters;

Callers 1

__pthread_createFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected