Jacek Caban : server: Use default poll only for default read and write queue asyncs.
Alexandre Julliard
julliard at winehq.org
Mon Jul 3 15:56:47 CDT 2017
Module: wine
Branch: master
Commit: 328f178c2519d51eda4992b07c514670f8d46385
URL: http://source.winehq.org/git/wine.git/?a=commit;h=328f178c2519d51eda4992b07c514670f8d46385
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Jun 30 15:06:43 2017 +0200
server: Use default poll only for default read and write queue asyncs.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
server/fd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/fd.c b/server/fd.c
index f64c8c9..baf7e8d 100644
--- a/server/fd.c
+++ b/server/fd.c
@@ -2101,7 +2101,7 @@ void default_fd_queue_async( struct fd *fd, struct async *async, int type, int c
/* default reselect_async() fd routine */
void default_fd_reselect_async( struct fd *fd, struct async_queue *queue )
{
- if (queue != fd->wait_q)
+ if (queue == fd->read_q || queue == fd->write_q)
{
int poll_events = fd->fd_ops->get_poll_events( fd );
int events = check_fd_events( fd, poll_events );
More information about the wine-cvs
mailing list