Messages in this thread | | | Date | Tue, 28 Jan 2003 05:52:01 -0500 | From | Mark Mielke <> | Subject | Re: bug in select() (was Re: {sys_,/dev/}epoll waiting timeout) |
| |
On Tue, Jan 28, 2003 at 09:45:00AM +0000, Jamie Lokier wrote: > 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.
To some degree, isn't this the equivalent of yield()?
mark
-- mark@mielke.cc/markm@ncf.ca/markm@nortelnetworks.com __________________________ . . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder |\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ | | | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada
One ring to rule them all, one ring to find them, one ring to bring them all and in the darkness bind them...
http://mark.mielke.cc/
- 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/
| |