On 3/10/07, Christian <krampenschiesser@freenet.de> 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.
Received on Sun Mar 11 00:15:03 2007
This archive was generated by hypermail 2.1.8 : Sun Mar 11 2007 - 00:15:03 EET