[php-src] PR #24400: Dispatch async signals during time_sleep_until()
| From: | nicolas-grekas | Date: | Sun, 18 Oct 2026 07:23:57 +0000 |
| Subject: | [php-src] PR #24400: Dispatch async signals during time_sleep_until() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39531@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24400
Author: nicolas-grekas
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | yes
| New feature? | no
| BC breaks? | yes
| Deprecations? | no
| Issues | Related to [bug #38480](https://bugs.php.net/bug.php?id=38480)
| License | BSD-3-Clause
With
pcntl_async_signals(true), handlers now run while time_sleep_until()
waits, so they can throw or exit before the deadline. If a handler returns, the sleep resumes until
the original deadline. Related to #22538.