No subject
John Love-Jensen
eljay@adobe.com
Mon Apr 7 15:41:00 GMT 2003
Hi Prakash,
If you "man usleep" you'll notice that it specifies that "actual suspension
may be longer than the amount of time specified".
> Please let me know if there is a way of achieving a sleep for a SPECIFIC
precision value in milliseconds range...
Depends on the facilities of your operating system and platform, not on the
capabilities of GCC.
You could try a busy loop, or a vertical blanking interrupt, or a specific
OS call giving more exacting sleep control.
Sincerely,
--Eljay
More information about the Gcc-help
mailing list