Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2008-02-25 11:51:44 +0000
committerAnton Leherbauer2008-02-25 11:51:44 +0000
commitfe2db581477e59747c43cd6318f8af28ad89510d (patch)
tree91bace48ffb271f4473208218f15fed10e15616d /core/org.eclipse.cdt.core/parser
parentaa7ed7ba1902a3f33a92f42d627c8a8dad591474 (diff)
downloadorg.eclipse.cdt-fe2db581477e59747c43cd6318f8af28ad89510d.tar.gz
org.eclipse.cdt-fe2db581477e59747c43cd6318f8af28ad89510d.tar.xz
org.eclipse.cdt-fe2db581477e59747c43cd6318f8af28ad89510d.zip
Fix for 220166: Deadlock running core test suite
Diffstat (limited to 'core/org.eclipse.cdt.core/parser')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMIndexerJob.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMIndexerJob.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMIndexerJob.java
index 2a5142c676a..3a905af9527 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMIndexerJob.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMIndexerJob.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2007 QNX Software Systems
+ * Copyright (c) 2005, 2008 QNX Software Systems
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -66,7 +66,7 @@ public class PDOMIndexerJob extends Job {
do {
synchronized(taskMutex) {
currentTask= null;
- taskMutex.notify();
+ taskMutex.notifyAll();
// user cancel, tell manager and return
if (monitor.isCanceled()) {
@@ -118,7 +118,7 @@ public class PDOMIndexerJob extends Job {
pdomManager.cancelledJob(true);
synchronized (taskMutex) {
currentTask= null;
- taskMutex.notify();
+ taskMutex.notifyAll();
}
throw e;
}
@@ -127,7 +127,7 @@ public class PDOMIndexerJob extends Job {
pdomManager.cancelledJob(true);
synchronized (taskMutex) {
currentTask= null;
- taskMutex.notify();
+ taskMutex.notifyAll();
}
throw e;
}

Back to the top