MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / LockThreads

Function LockThreads

system/lib/compiler-rt/lib/asan/asan_thread.cpp:487–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485// --- Implementation of LSan-specific functions --- {{{1
486namespace __lsan {
487void LockThreads() {
488 __asan::asanThreadRegistry().Lock();
489 __asan::asanThreadArgRetval().Lock();
490}
491
492void UnlockThreads() {
493 __asan::asanThreadArgRetval().Unlock();

Callers 1

BeforeForkFunction · 0.70

Calls 1

LockMethod · 0.45

Tested by

no test coverage detected