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

Method WrapperLock

src/wrapperlock.cpp:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26{
27
28WrapperLock::WrapperLock(bool exclusiveLock)
29{
30 if (exclusiveLock) {
31 ThreadSync::wrapperExecutionLockLockExcl();
32 } else {
33 ThreadSync::wrapperExecutionLockLock();
34 }
35}
36
37WrapperLock::~WrapperLock()
38{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected