Set correct status

This commit is contained in:
momo5502
2025-04-13 15:00:39 +02:00
parent 7910021124
commit 2ed35d94b9
2 changed files with 2 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ using NTSTATUS = std::uint32_t;
#ifndef OS_WINDOWS
#define STATUS_WAIT_0 ((NTSTATUS)0x00000000L)
#define STATUS_USER_APC ((NTSTATUS)0x000000C0L)
#define STATUS_TIMEOUT ((NTSTATUS)0x00000102L)
#define STATUS_PENDING ((NTSTATUS)0x00000103L)

View File

@@ -162,6 +162,7 @@ namespace
if (can_dispatch_apcs)
{
thread.mark_as_ready(STATUS_USER_APC);
dispatch_next_apc(win_emu, thread);
}