Re: Allow sleep() to accept non-integer values

From: Date: Tue, 11 Aug 2020 12:34:17 +0000
Subject: Re: Allow sleep() to accept non-integer values
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-111461@lists.php.net to get a copy of this message
On 11.08.2020 at 10:53, Rowan Tommins wrote: > Unless there are problems with the implementation, this seems like a > straight-forward win. Not necessarily a problem, but it has to be considered that POSIX mandates that nanosleep() shall fail, if "the rqtp argument specified a nanosecond value […] greater than or equal to 1000 million."[1] Analogous for usleep() which has been removed from the POSIX standard. [1] <https://pubs.opengroup.org/onlinepubs/9699919799/functions/nanosleep.html> -- Christoph M. Becker

« previous php.internals (#111461) next »