[7/10 AcceptEx] Implements pop_accepting_socket
slindeneau at gmail.com
Wed Sep 3 16:10:00 CDT 2008
pop_accepting_socket pops an associated socket off of a listening socket
and calls accept_socket on the listening socket using the accepting
It then uses async_wake_up_l to wake up the corresponding async call.
When the callback is run in the dll user thread the sockets are
all ready connected and accept_socket does not need to be called. This
prevents race conditions.
pop_accepting_socket is called instead of async_wake_up from the
pop_accepting_socket returns true if there is an entry in the sock_list
and the accept was attempted. (even if the accept_socket fails). it
returns false if there were no accepting sockets waiting.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the wine-patches