parallel

pecl install parallel

Parallel concurrency API

A succinct parallel concurrency API for PHP 7.

Maintainer

  • Joe Watkins (lead )
  • Remi Collet (lead )
  • Florian Engelhardt (lead )

Details

Stars: 1280
Issue openned: 30
Downloads: 115635
The parallel extension requires Zend Thread Safe (ZTS). Unable to build with Thread Safe disabled.
0.9.0
5 years ago
Request a build
Request to the website owner's team the built this extension with this parameters. The result is not guaranteed and can be impossible for many reasons. The extension source code is frequently not upto date with the most recent PHP version.
If you have another code source for this extension, provide it in comment.
Please (or register) to request a build.
Version 0.9.0 change log


- Channels: bi-directional communication between tasks and runtimes
- Improvements to copying making it vastly more efficient
- Improvements to runtime stack, making it more efficient
- Tasks may use lexical scope
- Events - an experimental, quite primitive event loop for reading/writing sets of channels and futures
- Support for rethrowing exceptions uncaught in tasks
- Simplified Runtime constructor
- Remove Future::select (in favour of the superior events interface)
- Task cancellation
- Closure support
- Drop support for PHP 7.1

requires:

  • php >=7.2.0
  • pearinstaller >=1.10