Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
41f7f19c
Commit
41f7f19c
authored
Nov 05, 2015
by
Sebastian Lackner
Committed by
Alexandre Julliard
Nov 05, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Wake up APC if we fail to allocate a handle in target process.
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
659e5851
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
thread.c
server/thread.c
+2
-2
No files found.
server/thread.c
View file @
41f7f19c
...
...
@@ -1500,9 +1500,9 @@ DECL_HANDLER(select)
/* Optimization: ignore APC_NONE calls, they are only used to
* wake up a thread, but since we got here the thread woke up already.
*/
if
(
apc
->
call
.
type
!=
APC_NONE
)
if
(
apc
->
call
.
type
!=
APC_NONE
&&
(
reply
->
apc_handle
=
alloc_handle
(
current
->
process
,
apc
,
SYNCHRONIZE
,
0
)))
{
if
((
reply
->
apc_handle
=
alloc_handle
(
current
->
process
,
apc
,
SYNCHRONIZE
,
0
)))
reply
->
call
=
apc
->
call
;
release_object
(
apc
);
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