ntdll: Honour alertable argument in NtContinue.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
37e00a8743
commit
46a81fa966
|
@ -721,8 +721,11 @@ NTSTATUS WINAPI NtContinue( CONTEXT *context, BOOLEAN alertable )
|
|||
user_apc_t apc;
|
||||
NTSTATUS status;
|
||||
|
||||
if (alertable)
|
||||
{
|
||||
status = server_select( NULL, 0, SELECT_INTERRUPTIBLE | SELECT_ALERTABLE, 0, NULL, NULL, &apc );
|
||||
if (status == STATUS_USER_APC) invoke_apc( context, &apc );
|
||||
}
|
||||
return NtSetContextThread( GetCurrentThread(), context );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue