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

Method releaseLocks

src/threadsync.cpp:96–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void
97ThreadSync::releaseLocks()
98{
99 JASSERT(WorkerState::currentState() == WorkerState::SUSPENDED);
100
101 JTRACE("Releasing ThreadSync locks");
102 ThreadSync::wrapperExecutionLockUnlock();
103 JASSERT(DmtcpMutexUnlock(&libdlLock) == 0);
104}
105
106void
107ThreadSync::resetLocks(bool resetPresuspendEventHookLock)

Callers

nothing calls this directly

Calls 2

currentStateFunction · 0.85
DmtcpMutexUnlockFunction · 0.85

Tested by

no test coverage detected