MCPcopy Create free account
hub / github.com/KDE/kdevelop / tryLock

Method tryLock

kdevplatform/util/foregroundlock.cpp:144–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144bool KDevelop::ForegroundLock::tryLock()
145{
146 if (tryLockForegroundMutexInternal()) {
147 m_locked = true;
148 return true;
149 }
150 return false;
151}
152
153void KDevelop::ForegroundLock::unlock()
154{

Callers 5

tryLockSessionMethod · 0.80
TryLockThreadClass · 0.80

Calls 1

Tested by

no test coverage detected