An open API service indexing awesome lists of open source software.

https://github.com/343max/backgrounder

php thread simulation
https://github.com/343max/backgrounder

Last synced: 5 months ago
JSON representation

php thread simulation

Awesome Lists containing this project

README

          

Backgrounder is a set of php classes that enables the use of something thread or process like in php.

Take a look at the examples to see how it works.

- simple: Start 10 Threads, and print the results in order of completion
- headless: Start 1 Thread that takes 10 seconds and writes something to /tmp/background.log. The process doesn't wait for the result
- exception: Shows what happens when a worker process throws an exception
- decoyClass: sample, how to handle calls transparent.