MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / pthread_exit

Function pthread_exit

src/threadwrappers.cpp:178–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178extern "C" void
179pthread_exit(void *retval)
180{
181 {
182 WrapperLock wrapperLock;
183
184 ThreadList::threadExit();
185 PluginManager::eventHook(DMTCP_EVENT_PTHREAD_EXIT, NULL);
186 }
187
188 _real_pthread_exit(retval);
189 for (;;) { // To hide compiler warning about "noreturn" function
190 }
191}
192
193/*
194 * pthread_join() is a blocking call that waits for the given thread to exit.

Callers 7

start_routineFunction · 0.85
start_routineFunction · 0.85
monitor_access_to_filesFunction · 0.85
start_routineFunction · 0.85
threadMainFunction · 0.85
ckpt_cleanupFunction · 0.85
timer_helper_threadFunction · 0.85

Calls 2

eventHookFunction · 0.85
_real_pthread_exitFunction · 0.70

Tested by

no test coverage detected