[php-src] PR #24399: Make usleep() and time_nanosleep() alertable on Windows
| From: | nicolas-grekas | Date: | Sun, 18 Oct 2026 07:19:47 +0000 |
| Subject: | [php-src] PR #24399: Make usleep() and time_nanosleep() alertable on Windows | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39530@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24399
Author: nicolas-grekas
| Q | A
| ------------- | ---
| Branch? | PHP-8.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | -
| License | PHP-3.01
Allow APCs to interrupt
usleep() and time_nanosleep() on Windows, as they
already can with sleep(). time_nanosleep() reports the remaining duration,
and time_sleep_until() resumes waiting until its deadline.