Re: cvs: php-src / NEWS /ext/standard basic_functions.c basic_functions.h
| From: | Ilia Alshanetsky | Date: | Wed, 12 Nov 2003 23:14:53 +0000 |
| Subject: | Re: cvs: php-src / NEWS /ext/standard basic_functions.c basic_functions.h | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-24511@lists.php.net to get a copy of this message | ||
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