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

Function lock_threads

src/threadlist.cpp:88–92  ·  view source on GitHub ↗

* * Lock and unlock the 'activeThreads' list * *****************************************************************************/

Source from the content-addressed store, hash-verified

86 *
87 *****************************************************************************/
88static void
89lock_threads(void)
90{
91 JASSERT(DmtcpMutexLock(&threadlistLock) == 0) (JASSERT_ERRNO);
92}
93
94static void
95unlk_threads(void)

Callers 2

suspendThreadsMethod · 0.85
addToActiveListMethod · 0.85

Calls 1

DmtcpMutexLockFunction · 0.85

Tested by

no test coverage detected