Re: 2.2.16/17pre6 nanosleep stops my X pointer from moving
George Anzinger (george@pioneer.net)
Tue, 27 Jun 2000 11:23:05 -0700
Alan Cox wrote:
>
> > Not to throw cold water on this, but as a real time professional, I
> > think timing loops like this should be removed from the kernel. A FAR
> > better approach would be to set up an interrupt, even if it is sloppy.
>
> It does use interrupt timing when the timeout is large or when not a hard
> RT task. For most other cases we use delay loops its basically a case of
> 'You shouldnt have bought a PC then'. A lot of devices need short accurate
> timeouts and don't have an IRQ for it
Agreed, there is a need. But there is also a need for the nanosleep
that uses the clock int. I just think the interface is overloaded.
Probably too late to do anything about it :(
George
-
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/