This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with usleep's precision.
- From: bjorn rohde jensen <bjensen at fastmail dot fm>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 15 Apr 2003 21:51:43 +0200
- Subject: Re: Problem with usleep's precision.
- References: <200304151856.h3FIuYRZ012750@bell.qrwsoftware.com>
- Reply-to: bjensen at fastmail dot fm
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