Skip to content

PHP: Build with pthreads support #347

@adamziel

Description

@adamziel

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions