[PATCH 2/7] server: don't signal events that we shouldn't be signaling (try 2)

Mike Kaplinskiy mike.kaplinskiy at gmail.com
Wed Mar 24 21:19:07 CDT 2010


In addition to not signaling FD_READ/FD_WRITE when we are waking up asyncs,
we sometimes get duplicate events. This can happen if the reselect in enable
event is called while there is a pending event from poll as well.

Windows doesn't send events until after there are no more asyncs working.

Sorry for the persistence Alexandre - seems only you will review server patches.
---
 server/async.c |    8 ++++++++
 server/file.h  |    1 +
 server/sock.c  |   56 +++++++++++++++++++++++++++++++-------------------------
 3 files changed, 40 insertions(+), 25 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-server-don-t-signal-events-that-we-shouldn-t-be-sign.patch
Type: text/x-patch
Size: 7017 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100324/92459715/attachment.bin>


More information about the wine-patches mailing list