On Tue, Jan 22, 2013 at 09:15:06PM +0100, Pino Toscano wrote: > Actually, from my reading the poll documentation (unlike the select one) > does not say what to do when nfds=0; on Linux, the timeout seems ignored > and 0 is returned right away, with no delay.
On my system (Debian squeeze), poll and select behave the same when nfds is 0, i.e. the timeout is not ignored and the call acts as a sleep. IMHO, our implementation should stick to that common behaviour. -- Richard Braun