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
c5541f8a
Commit
c5541f8a
authored
May 05, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
May 05, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Don't poll for POLLOUT if there are alerted write asyncs.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
30a56639
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
sock.c
server/sock.c
+6
-1
No files found.
server/sock.c
View file @
c5541f8a
...
...
@@ -1315,7 +1315,12 @@ static int sock_get_poll_events( struct fd *fd )
if
(
async_queued
(
&
sock
->
write_q
))
{
if
(
async_waiting
(
&
sock
->
write_q
))
ev
|=
POLLOUT
;
/* As with read asyncs above, clear POLLOUT if we have an alerted
* async. */
if
(
async_waiting
(
&
sock
->
write_q
))
ev
|=
POLLOUT
;
else
ev
&=
~
POLLOUT
;
}
else
if
(
!
sock
->
wr_shutdown
&&
(
mask
&
AFD_POLL_WRITE
))
{
...
...
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