MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / lockAll

Method lockAll

src/profiler.cpp:1195–1197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1193}
1194
1195void Profiler::lockAll() {
1196 for (int i = 0; i < CONCURRENCY_LEVEL; i++) _locks[i].lock();
1197}
1198
1199void Profiler::unlockAll() {
1200 for (int i = 0; i < CONCURRENCY_LEVEL; i++) _locks[i].unlock();

Callers

nothing calls this directly

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected