nanosleep() should bridge the gap from sleep() (1 sec.) to jiffy with
further refinement only if supported by the hardware as an interrupt.
George
Alan Cox wrote:
>
> > Long calls to nanosleep cause my X pointer to stop moving.
> > nanosleep({0, 1000000}, NULL) = 0
> >
> > Is this the expected behavior?
>
> If the task is real time then yes the kernel will choose to do a busy
> loop for accuracy.
>
> Alan
>
> -
> 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/
-
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/