On 3/10/07, Christian <[EMAIL PROTECTED]> wrote:
On the one hand this indicates the thread running stable in realtime but
having a restriction to ~4ms/4000µs. Perhaps this is an in-system value
4ms means you have 250Hz kernel tick. Set it to 1024Hz or better try
tickless setup.

of sleep and the select approach Robin Gareus posted will help out.
I'd suggest using clock_nanosleep() and clock_gettime() with
clockid=CLOCK_MONOTONIC.
This is the "more right" approach than select/gettimeofday().


Dmitry.

Reply via email to