[lkml]   [2003]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: bug in select() (was Re: {sys_,/dev/}epoll waiting timeout)
On Tue, 28 Jan 2003, 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.

Waking up every jiffie does not make a lot of sense in most applications
since they probably prefer to deal with seconds and its derivates, to have
a predictable behavior on different systems. Functions like
poll/select/epoll are simply not the right solution if you want to cut the
microsecond on sleep times.

- Davide

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.063 / U:11.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site