Problem with usleep's precision.
bjorn rohde jensen
bjensen@fastmail.fm
Tue Apr 15 19:51:00 GMT 2003
Hi there,
It sounds to me, like you want your program to sleep for
such a short time, there is no point in involving the OS
scheduler. If you really require such fine grained timing,
you will need to turn to a real-time OS or, if your application
can suffer a few missed dead-lines, use busy waiting on a
lightly loaded host.
None of this has anything to do with gcc though. It is
strictly a platform issue;)
Yours sincerely,
Bjorn
More information about the Gcc-help
mailing list