pthreads已经暂停维护了 新项目 parallel (地址:https://github.com/krakjoe/parallel

Requirements

  • PHP 7.2+
  • ZTS
  • <pthread.h>

Installation

From sources

git clone https://github.com/krakjoe/parallel.git
cd parallel
phpize
./configure --enable-parallel  [ --enable-parallel-coverage ] [ --enable-parallel-dev ]
make
make test
make install

From PECL

pecl install parallel

Binary distributions

发表评论