1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-17 22:15:23 +02:00

[197167][persistence][api] Need callback API to know when RSE model is fully restored

https://bugs.eclipse.org/bugs/show_bug.cgi?id=197167
This commit is contained in:
David Dykstal 2008-03-06 18:57:30 +00:00
parent e093238cd6
commit f8c2e54e84

View file

@ -62,9 +62,11 @@ public final class RSEInitJob extends Job {
throw new InterruptedException(); throw new InterruptedException();
} }
} }
public synchronized void done() { public void done() {
synchronized (this) {
isComplete = true; isComplete = true;
notifyAll(); notifyAll();
}
notifyListeners(phaseNumber); notifyListeners(phaseNumber);
} }
public synchronized void cancel() { public synchronized void cancel() {