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

Function pthread_exit_hook

src/hooks.cpp:84–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84static void pthread_exit_hook(void* retval) {
85 Log::debug("thread_exit: 0x%lx", (unsigned long)(uintptr_t)pthread_self());
86 CpuEngine::onThreadEnd();
87
88 _orig_pthread_exit(retval);
89}
90
91
92typedef void* (*dlopen_t)(const char*, int);

Callers 1

pthread_exitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected