Re: [PATCH v2 13/14] daemon: use select() instead of poll()
- From
Erik Faye-Lund <kusmabite@googlemail.com>
- Date
- Jan 16, 2010, 21:31 UTC
- Message-ID
- <40aa078e1001161331o115065dax98642ed2054f9b9d@mail.gmail.com>
- In-Reply-To
- <201001161336.20703.j6t@kdbg.org>
On Sat, Jan 16, 2010 at 1:36 PM, Johannes Sixt <j6t@kdbg.org> wrote:
Show 9 quoted lines
> On Samstag, 16. Januar 2010, Erik Faye-Lund wrote: >> ...but __WSAFDIsSet() seems to be every bit as official on Windows as >> FD_ISSET() (documented in msdn, without any notes not to use it), so I >> still don't really see the point. > > I didn't know nor check whether it is documented, but assumed from the '__' > that it must be internal. Being documented makes a big difference. I'm fine > with either solution. >
OK, in that case, I'll leave it as it is. The current code is slightly more tested (I've been using it for some weeks), and I'm slightly lazy ;)
But I'll update FD_SET...
-- Erik "kusma" Faye-Lund