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:
parent
08f05612e7
commit
ebe2e13ea1
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue