Remove global condition waiter registry that deadlocks exception delivery

Co-authored-by: Bipin <bipinkrish4@gmail.com>
This commit is contained in:
nmzik
2026-09-14 21:27:05 +04:00
parent 437e69ef1b
commit 18a1e0fadc
5 changed files with 8 additions and 54 deletions
-2
View File
@@ -1168,7 +1168,6 @@ static int KYTY_SYSV_ABI KernelRaiseException(Pthread thread, int signum) {
return KERNEL_ERROR_EINVAL;
}
Common::CondVar::SignalThread(PthreadGetUniqueId(thread));
PthreadWakeForSignal(thread);
CloseHandle(target_thread);
return OK;
@@ -1193,7 +1192,6 @@ static int KYTY_SYSV_ABI KernelRaiseException(Pthread thread, int signum) {
return KERNEL_ERROR_EINVAL;
}
Common::CondVar::SignalThread(PthreadGetUniqueId(thread));
PthreadWakeForSignal(thread);
WaitForSignalDispatch(thread, signum);
return OK;