Interpreter thread should exit after sending IPC data

This commit is contained in:
Alex 2023-03-31 17:35:24 +03:00
parent 3f89b6d863
commit 8747a54fea
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -89,7 +89,11 @@ namespace Execute
goto RetryIPCWrite;
}
delete TmpBuffer;
CPU::Halt(true);
/* Prevent race condition, maybe a
better idea is to watch when the
IPC is destroyed. */
TaskManager->Sleep(5000);
TEXIT(0);
}
PCB *InterpreterTargetProcess;