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
05319312
Commit
05319312
authored
Aug 17, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Use pipe_end state in find_available_server.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
03317d10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
named_pipe.c
server/named_pipe.c
+2
-2
No files found.
server/named_pipe.c
View file @
05319312
...
...
@@ -1128,14 +1128,14 @@ static struct pipe_server *find_available_server( struct named_pipe *pipe )
/* look for pipe servers that are listening */
LIST_FOR_EACH_ENTRY
(
server
,
&
pipe
->
servers
,
struct
pipe_server
,
entry
)
{
if
(
server
->
state
==
ps_wait_open
)
if
(
server
->
pipe_end
.
state
==
FILE_PIPE_LISTENING_STATE
&&
async_queued
(
&
server
->
listen_q
)
)
return
(
struct
pipe_server
*
)
grab_object
(
server
);
}
/* fall back to pipe servers that are idle */
LIST_FOR_EACH_ENTRY
(
server
,
&
pipe
->
servers
,
struct
pipe_server
,
entry
)
{
if
(
server
->
state
==
ps_idle_server
)
if
(
server
->
pipe_end
.
state
==
FILE_PIPE_LISTENING_STATE
)
return
(
struct
pipe_server
*
)
grab_object
(
server
);
}
...
...
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