MCPcopy Create free account
hub / github.com/Icinga/icinga2 / ConfigObjectsExclusiveLock

Method ConfigObjectsExclusiveLock

lib/remote/configobjectslock.cpp:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16static SharedMemory<boost::interprocess::interprocess_sharable_mutex> l_ConfigObjectsMutex;
17
18ConfigObjectsExclusiveLock::ConfigObjectsExclusiveLock()
19 : m_Lock(l_ConfigObjectsMutex.Get())
20{
21}
22
23ConfigObjectsSharedLock::ConfigObjectsSharedLock(std::try_to_lock_t)
24 : m_Lock(l_ConfigObjectsMutex.Get(), boost::interprocess::try_to_lock)

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected