[PATCH 2/2] fixes codegentest, but i have no clue as to why this 'hack' is needed
Floris Ruijter
flo.ruijt at hotmail.com
Wed Dec 29 18:29:39 UTC 2010
---
language/duchain/duchain.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/language/duchain/duchain.cpp b/language/duchain/duchain.cpp
index 66fd72c..19eab33 100644
--- a/language/duchain/duchain.cpp
+++ b/language/duchain/duchain.cpp
@@ -1679,6 +1679,7 @@ KDevelop::ReferencedTopDUContext DUChain::waitForUpdate(const KDevelop::IndexedS
// waiter.m_waitMutex.lock();
// waiter.m_dataMutex.unlock();
+ ForegroundLock f(!ForegroundLock::isLockedForThread());
while(!waiter.m_ready) {
TemporarilyReleaseForegroundLock release;
///@todo When we don't do this, the backgroundparser doesn't process anything.
--
1.7.2.3
--=-Ly74Xgzx/mtkG2m/JKFr--
More information about the KDevelop-devel
mailing list