At 06:14 PM 11/12/2003 -0500, Ilia Alshanetsky wrote:
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.

Again, this is breaking our naming conventions. (yeah I know there's legacy stuff).
How about time_nanosleeop()?


Andi

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to