1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-02 09:37:57 +01:00
parallel/docs/index.md
2017-12-08 17:53:20 -06:00

760 B

title permalink
Parallel /

True parallel processing using multiple processes or native threads for concurrent PHP code execution, without blocking, no extensions required.

Installation

This package can be installed as a Composer dependency.

composer require amphp/parallel

Usage

This package provides native threading, multiprocessing, process synchronization, shared memory, and task workers for concurrently executing PHP code. To be as flexible as possible, this package includes a collection of non-blocking concurrency tools that can be used independently as needed, as well as an "opinionated" worker API that allows you to assign units of work to a pool of worker threads or processes.