Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP: Build with pthreads support #347

Open
adamziel opened this issue May 16, 2023 · 0 comments
Open

PHP: Build with pthreads support #347

adamziel opened this issue May 16, 2023 · 0 comments

Comments

@adamziel
Copy link
Collaborator

adamziel commented May 16, 2023

Pthreads are required to run the pcntl extensions and functions like pcntl_fork and pcntl_exec. Full PHPUnit support hinges on this, and AFAIR there's a few wp-cli commands also relying on threads.

Turns out supporting pthreads offers no clear benefit as WordPress-related PHP libraries typically don't require it. What wp-cli and PHPunit both need is proc_open.

The implementation is explored in #346

Related:

cc @dmsnell @danielbachhuber @sejas

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

No branches or pull requests

1 participant