mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix for 220166: Deadlock running core test suite
This commit is contained in:
parent
aa7ed7ba19
commit
fe2db58147
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue