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

Method isLockedForThread

kdevplatform/util/foregroundlock.cpp:138–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138bool KDevelop::ForegroundLock::isLockedForThread()
139{
140 return QThread::currentThread() == holderThread
141 || QThread::currentThread() == QCoreApplication::instance()->thread();
142}
143
144bool KDevelop::ForegroundLock::tryLock()
145{

Callers

nothing calls this directly

Calls 1

threadMethod · 0.80

Tested by

no test coverage detected