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

Method onThreadEnd

src/cpuEngine.cpp:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void CpuEngine::onThreadEnd() {
52 CpuEngine* current = loadAcquire(_current);
53 if (current != NULL) {
54 current->destroyForThread(OS::threadId());
55 }
56}
57
58bool CpuEngine::setupThreadHook() {
59 if (_pthread_entry != NULL) {

Callers

nothing calls this directly

Calls 2

loadAcquireFunction · 0.85
destroyForThreadMethod · 0.45

Tested by

no test coverage detected