debuggerIPC improvements

This commit is contained in:
Daniella / Tove 2022-04-19 03:16:33 +02:00
parent 1f0d35d598
commit 582c0861fb

View file

@ -1217,7 +1217,7 @@ public class ISBPL {
if (rid == -2) {
if (word.equals(debuggerIPC.until)) {
debuggerIPC.run.put(Thread.currentThread().getId(), 0);
while (debuggerIPC.run.get(Thread.currentThread().getId()) == 0) Thread.sleep(1);
while (debuggerIPC.run.get(Thread.currentThread().getId()) != -1) Thread.sleep(1);
}
}
if (rid == -3 && Thread.currentThread().getId() != debuggerIPC.threadID) {