https://github.com/343max/backgrounder
php thread simulation
https://github.com/343max/backgrounder
Last synced: 5 months ago
JSON representation
php thread simulation
- Host: GitHub
- URL: https://github.com/343max/backgrounder
- Owner: 343max
- Created: 2010-07-16T16:06:33.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-07-26T13:35:40.000Z (over 15 years ago)
- Last Synced: 2024-04-14T14:20:59.482Z (almost 2 years ago)
- Language: PHP
- Homepage:
- Size: 105 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
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.