1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 291342 - corrected bugs in fix.

This commit is contained in:
Pawel Piech 2009-10-07 20:38:17 +00:00
parent 08f05612e7
commit ebe2e13ea1

View file

@ -231,7 +231,7 @@ public class MIInferiorProcess extends Process
}
@ThreadSafeAndProhibitedFromDsfExecutor("fSession#getExecutor")
public void waitForSync() throws InterruptedException {
public synchronized void waitForSync() throws InterruptedException {
assert !getSession().getExecutor().isInExecutorThread();
while (getState() != State.TERMINATED) {
@ -300,7 +300,7 @@ public class MIInferiorProcess extends Process
synchronized(this) {
fExitCode = exitCode;
}
return fExitCode;
return exitCode;
} catch (RejectedExecutionException e) {
} catch (InterruptedException e) {
} catch (CancellationException e) {