Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2008-02-25 06:51:32 -0500
committerAnton Leherbauer2008-02-25 06:51:32 -0500
commitd0a05b15d78766297c8f8b16d263a001130c6c86 (patch)
tree7e6781bf9d267ab7e88bb523450d733eab784cf5
parent2c755c49c7d9740a3ff06c57f2466f350da6ded2 (diff)
downloadorg.eclipse.cdt-d0a05b15d78766297c8f8b16d263a001130c6c86.tar.gz
org.eclipse.cdt-d0a05b15d78766297c8f8b16d263a001130c6c86.tar.xz
org.eclipse.cdt-d0a05b15d78766297c8f8b16d263a001130c6c86.zip
Fix for 220166: Deadlock running core test suite
-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 00d4e5bfb6..96f1a24028 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()) {
@@ -115,7 +115,7 @@ public class PDOMIndexerJob extends Job {
pdomManager.cancelledJob(true);
synchronized (taskMutex) {
currentTask= null;
- taskMutex.notify();
+ taskMutex.notifyAll();
}
throw e;
}
@@ -124,7 +124,7 @@ public class PDOMIndexerJob extends Job {
pdomManager.cancelledJob(true);
synchronized (taskMutex) {
currentTask= null;
- taskMutex.notify();
+ taskMutex.notifyAll();
}
throw e;
}

Back to the top