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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to