ws2_32: Use WSAWaitForMultipleEvents instead of WaitForSingleObject
Kai Blin
kai.blin at gmail.com
Mon Apr 28 07:35:03 CDT 2008
On Monday 28 April 2008 13:39:38 Dmitry Timoshkov wrote:
> "Kai Blin" <kai.blin at gmail.com> wrote:
> > - HANDLE hEvent = INVALID_HANDLE_VALUE;
> > + WSAEVENT event_array[1];
>
> Is that change only to avoid passing &hEvent to WSAWaitForMultipleEvents?
Nope. WSAWaitForMultipleEvents expects an array of WSAEVENTs. So this seemed
like the cleaner approach to do this.
Cheers,
Kai
--
Kai Blin
WorldForge developer http://www.worldforge.org/
Wine developer http://wiki.winehq.org/KaiBlin
Samba team member http://www.samba.org/samba/team/
--
Will code for cotton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080428/f3c1da5c/attachment.pgp
More information about the wine-devel
mailing list