Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c40239d9
Commit
c40239d9
authored
Mar 13, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl: Allow running user APC inside the device manager loop.
parent
33e9798f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+8
-3
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
c40239d9
...
...
@@ -244,10 +244,15 @@ NTSTATUS CDECL wine_ntoskrnl_main_loop( HANDLE stop_event )
/* restart with larger buffer */
break
;
case
STATUS_PENDING
:
if
(
WaitForMultipleObjects
(
2
,
handles
,
FALSE
,
INFINITE
)
==
WAIT_OBJECT_0
)
for
(;;
)
{
HeapFree
(
GetProcessHeap
(),
0
,
in_buff
);
return
STATUS_SUCCESS
;
DWORD
ret
=
WaitForMultipleObjectsEx
(
2
,
handles
,
FALSE
,
INFINITE
,
TRUE
);
if
(
ret
==
WAIT_OBJECT_0
)
{
HeapFree
(
GetProcessHeap
(),
0
,
in_buff
);
return
STATUS_SUCCESS
;
}
if
(
ret
!=
WAIT_IO_COMPLETION
)
break
;
}
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment