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
0ab9e00e
Commit
0ab9e00e
authored
Apr 10, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Directly use server_select in wait_suspend.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4f673d53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
exception.c
dlls/ntdll/exception.c
+1
-3
No files found.
dlls/ntdll/exception.c
View file @
0ab9e00e
...
...
@@ -111,7 +111,6 @@ static ULONG remove_vectored_handler( struct list *handler_list, VECTORED_HANDLE
*/
void
wait_suspend
(
CONTEXT
*
context
)
{
LARGE_INTEGER
timeout
;
int
saved_errno
=
errno
;
context_t
server_context
;
DWORD
flags
=
context
->
ContextFlags
;
...
...
@@ -127,8 +126,7 @@ void wait_suspend( CONTEXT *context )
SERVER_END_REQ
;
/* wait with 0 timeout, will only return once the thread is no longer suspended */
timeout
.
QuadPart
=
0
;
server_wait
(
NULL
,
0
,
SELECT_INTERRUPTIBLE
,
&
timeout
);
server_select
(
NULL
,
0
,
SELECT_INTERRUPTIBLE
,
0
,
NULL
);
/* retrieve the new context */
SERVER_START_REQ
(
get_suspend_context
)
...
...
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