Re: bug in select() (was Re: {sys_,/dev/}epoll waiting timeout)

From: Jamie Lokier (jamie@shareable.org)
Date: Tue Jan 28 2003 - 04:45:00 EST


Davide Libenzi wrote:
> ( if Tms > 0 )

Which is unfortunate, because that doesn't allow for a value of Tms ==
0 which is needed when you want to sleep and wake up on every jiffie
on systems where HZ >= 1000. Tms == 0 is taken already, to mean do
not wait at all.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jan 31 2003 - 22:00:18 EST