On November 12, 2003 06:02 pm, Moriyoshi Koizumi wrote: > Hmm, did you ever think of an idea of allowing float values for usleep() > instead of adding one more redundancy to the existing two look-alikes?
Actually I have, but you'll notice that unlike other sleep functions nanosleep() can return an array, which allows resuming of sleep if it was interrupted by a signal. Changing functionality of existing functions would break backwards compatibility. Also, unlike usleep() which is BSD 4.3 (not avaliable on all systems) nanosleep is POSIX. Ilia -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php