On 2003/11/13, at 8:14, 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.
Well, then it looks like I have to wonder, if there is any option to get them combined into an unified function, hopefully by deprecating two of those?
Moriyoshi
Ilia
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
