On Fri, Feb 22, 2008 at 05:14:47PM +0200, Andrew Pogrebennyk wrote:
Can you provide a reference for this please.
I've never seen a shell function called usleep. Which shell are you using?
Possibly on some OSs but not on FreeBSD.
Such as? If you are talking about having the process suspended
instead of the thread then this is dependent on the threading library
and the thread attributes and is no more or less surprising than any
other similar function.
If you bothered to read what Sharad had said, the man page or the source,
you would find that usleep(3) _is_ implemented using nanosleep(2) so there
is no point in using nanosleep() instead of usleep().
--=20
Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.