On Thu, 20 Aug 2020 at 14:15, Michael Voříšek - ČVUT FEL < voris...@fel.cvut.cz> wrote:
> Hi everyone, > > thank you for your comments, based on them, I fixed these: > > - usleep is now used as a fallback as well, if interrupted, remaining > time is measured using microtime, so return value is always available > > - for BC, if not interrupted, return value remains to be 0 (integer > zero) > > Now, the sleep() function should be really universal, cross platform and > I would say also the prefered way to sleep. > > The implementaion is here https://github.com/php/php-src/pull/5961/files > > > Please comment on Github directly if you have any feedback left. > > > I thinkit's worth considering if this also should be fixed in 8.0 or > even earlier ;-)So good to hear the RM view on this. > > Sara, are you ok to include this in PHP 8.0 and do you require a RFC for > it? > > With kind regards / Mit freundlichen Grüßen / S přátelským pozdravem, > > Michael Voříšek >