Skip to content

Dispatch async signals during time_sleep_until() - #24400

Open
nicolas-grekas wants to merge 1 commit into
php:masterfrom
nicolas-grekas:time-sleep-until-async-signals
Open

nicolas-grekas wants to merge 1 commit into
php:masterfrom
nicolas-grekas:time-sleep-until-async-signals

Conversation

@nicolas-grekas

@nicolas-grekas nicolas-grekas commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Related to bug #38480

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant