Skip to content

PHPThreads - Easy POSIX thread (pthread)-like functionality in PHP

Latest
Compare
Choose a tag to compare
@justincjack justincjack released this 25 Mar 11:00
· 8 commits to master since this release

The first public release. Have you ever wanted really be able to multithread in PHP? This library will give you essentially the feel and functionality of being able to do just that.

This library brings POSIX thread (pthread)-like capabilities to PHP programs. The library was not designed for use via CGI. If you intend to attempt to use it that way, make sure the dependent modules are accessible in CGI mode.

This library was designed to allow you to build powerful, custom, server-side stand-alone software that will benefit from parallel processing that follows a syntax very similar to POSIX pthreads that you may be used to. With the ability to synchronize global variables across all PHPThreads, get PHPThread return values and easily (and very quickly) send messages between PHPThreads, this library will turbo-charge your next project.