lkml.org 
[lkml]   [1999]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Important patch to fix select!
Steve Underwood wrote:
> Basically what this type of application needs is regular repetitive
> scheduling. A "wake me up at XXHz intervals" facility would make a
> lot of these types of applications smooth and efficient.

I would imagine making select() accurate (or some other call)
would be just as easy and far more generally useful.

> You would need some complexity to deal with a heavily loaded
> machine. I think simply skipping some scheduling events on a loaded
> machine would give the most tolerable result for most applications. In
> this case it would help the application if it were informed how many
> scheduling events have been missed since the last scheduling.

gettimeofday() is good enough for this.

-- Jamie

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

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