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

Method TemporarilyReleaseForegroundLock

kdevplatform/util/foregroundlock.cpp:160–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160TemporarilyReleaseForegroundLock::TemporarilyReleaseForegroundLock()
161{
162 Q_ASSERT(holderThread == QThread::currentThread());
163
164 m_recursion = 0;
165
166 while (holderThread == QThread::currentThread()) {
167 unlockForegroundMutexInternal();
168 ++m_recursion;
169 }
170}
171
172TemporarilyReleaseForegroundLock::~TemporarilyReleaseForegroundLock()
173{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected