Re: cvs: php-src / NEWS /ext/standard basic_functions.c basic_functions.h
| From: | Moriyoshi Koizumi | Date: | Wed, 12 Nov 2003 23:16:16 +0000 |
| Subject: | Re: cvs: php-src / NEWS /ext/standard basic_functions.c basic_functions.h | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-24513@lists.php.net to get a copy of this message | ||
On 2003/11/13, at 8:14, Ilia Alshanetsky wrote:
On November 12, 2003 06:02 pm, Moriyoshi Koizumi wrote: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? MoriyoshiHmm, 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