[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: ws2_32: Use WSAWaitForMultipleEvents instead ofWaitForSingleObject
From: "Dmitry Timoshkov" <dmitry () codeweavers ! com>
Date: 2008-04-28 12:53:42
Message-ID: 011001c8a92e$e67583b0$a600fea9 () DMITRY
[Download RAW message or body]
"Kai Blin" <kai.blin@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.
That's exactly what I pointed out above. In C both ways is an equivalent.
--
Dmitry.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic