Zebediah Figura : ntdll: Return STATUS_PENDING when restarting asyncs.
Alexandre Julliard
julliard at winehq.org
Thu Sep 23 15:35:03 CDT 2021
Module: wine
Branch: master
Commit: 455b707ea2fbbfdc84a4bb6e140d694dc30981cf
URL: https://source.winehq.org/git/wine.git/?a=commit;h=455b707ea2fbbfdc84a4bb6e140d694dc30981cf
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Thu Sep 23 00:47:59 2021 -0500
ntdll: Return STATUS_PENDING when restarting asyncs.
Fixes: 1eb56b20baefcdccaafbb622cadc71670c149e18
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/unix/server.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/ntdll/unix/server.c b/dlls/ntdll/unix/server.c
index 050824a1440..53d34e1858a 100644
--- a/dlls/ntdll/unix/server.c
+++ b/dlls/ntdll/unix/server.c
@@ -390,6 +390,7 @@ static void invoke_system_apc( const apc_call_t *call, apc_result_t *result, BOO
/* the server will pass us NULL if a call failed synchronously */
set_async_iosb( call->async_io.sb, result->async_io.status, info );
}
+ else result->async_io.status = STATUS_PENDING; /* restart it */
break;
}
case APC_VIRTUAL_ALLOC:
More information about the wine-cvs
mailing list