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
- Microsoft Windows: use zip archive from https://windows.php.net/downloads/pecl/releases/parallel/
评论前必须登录!
注册