[Kernel] Fixed issue with incorrect return code for APC
This commit is contained in:
parent
c430a1748a
commit
2044013b50
|
@ -961,7 +961,7 @@ uint32_t NtWaitForSingleObjectEx(uint32_t object_handle, uint32_t wait_mode,
|
||||||
object->Wait(3, wait_mode, alertable, timeout_ptr ? &timeout : nullptr);
|
object->Wait(3, wait_mode, alertable, timeout_ptr ? &timeout : nullptr);
|
||||||
if (alertable) {
|
if (alertable) {
|
||||||
if (result == X_STATUS_USER_APC) {
|
if (result == X_STATUS_USER_APC) {
|
||||||
result = xeProcessUserApcs(nullptr);
|
xeProcessUserApcs(nullptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue