Skip to content

Conversation

@ndossche
Copy link
Member

@ndossche ndossche commented Aug 2, 2023

People relied on manually waiting for children, but the fix for GH-11498 broke this. Fixing this in PHP is fundamentally incompatible with doing the wait loop in userland. This reverts to the old behaviour.

We should document the behaviour though in the manual, after merging this I'll take a look for doing that.

People relied on manually waiting for children, but the fix for phpGH-11498
broke this. Fixing this in PHP is fundamentally incompatible with doing
the wait loop in userland. This reverts to the old behaviour.
@ndossche ndossche force-pushed the revert-pcntl-signal-change branch from 3e817a6 to 9ae65a0 Compare August 2, 2023 19:53
Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! May we keep the test and adjust it to use pcntl_wait instead? Then we at least gained something from this change and won't accidentally break this again in the future. 🙂

@ndossche ndossche closed this in f7be15d Aug 3, 2023
jorgsowa pushed a commit to jorgsowa/php-src that referenced this pull request Aug 16, 2023
People relied on manually waiting for children, but the fix for phpGH-11498
broke this. Fixing this in PHP is fundamentally incompatible with doing
the wait loop in userland. This reverts to the old behaviour.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants