On Thu, Oct 30, 2003 at 10:49:38PM +0200, Ami Chayun wrote:
> Hi,
> I have a question regarding short sleeps (under 10 millisec).
> I require to implement sleep with about 1-10 microsec accuracy (that's no
> problem), but I require to sleep for times ranging between 1 microsec to 1
> millisec.
usleep?
The usleep() function suspends execution of the calling process
for (at least) usec microseconds. The sleep may be lengthened
slightly by any system activity or by the time spent processing
the call or by the granularity of system timers.
--
Shaul Karl, shaulk @ actcom . net . il
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]