[4/5][PATCH] Async Fixes

Scott Lindeneau slindeneau at gmail.com
Wed Aug 20 15:46:03 CDT 2008


Implements the rest of the wineserver utilities and requirements that
AcceptEx needs to be implemented correctly.
Utilizes locatable async requests and new sock.c functions to achieve this.

sock.c: Modifies accept_socket to take an accepting socket instead of
 creating a new socket. If an accepting socket is passed, that socket is
 used. If no socket is passed functionaility is identical to previous
 implementations. (AcceptEx Requires this).
sock.c: add's a listen handler to identify a socket that is listening
 for connections that will be accepted onto this socket. This allows the
 accepting socket to notify the listening socket when it is no longer
 ready to accept connections.(AcceptEx Requires this.)
sock.c: impelements new DECL_HANDLER set_socket_listener to set the
 above listen handler.(AcceptEx Requires this.)
sock.c: Implements sock_close_handle to correctly close all associated
 async requests.(AcceptEx Requires this.)
fd.c: Implements new DECL_HANDLER register_async_l to register a
 locatable async event.
protocol.def: Assosciated changes for above to work.
Otherfiles changed by tools/make_requests
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0004-sock.c-Modifies-accept_socket-to-take-an-accepting-so.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080821/58a0e74d/attachment-0001.txt 


More information about the wine-patches mailing list