Re: Important patch to fix select!

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Fri, 9 Jul 1999 18:59:27 +0200


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/