[PATCH v14 1/5] ntdll: Return STATUS_PENDING when restarting asyncs.

Zebediah Figura zfigura at codeweavers.com
Thu Sep 23 00:47:59 CDT 2021


Fixes: 1eb56b20baefcdccaafbb622cadc71670c149e18
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 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 771ababf904..043d381e1af 100644
--- a/dlls/ntdll/unix/server.c
+++ b/dlls/ntdll/unix/server.c
@@ -391,6 +391,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:
-- 
2.33.0




More information about the wine-devel mailing list