alphadevx / alpha

Full-stack MVC framework for PHP.
http://www.alphaframework.org/
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Rewrite the CronManager to use pThreads for each task #327

Open alphadevx opened 6 years ago

alphadevx commented 6 years ago

Ref: https://www.smddzcy.com/2016/01/tutorial-multi-threading-in-php7-pthreads/

This will be useful for the scheduling: https://packagist.org/packages/dragonmantank/cron-expression

alphadevx commented 5 years ago

Looks like there have been some improvement made tp v3 of pThreads (note it requires PHP 7.2): https://www.sitepoint.com/upgrading-pthreads-v2-v3-look/

alphadevx commented 5 years ago

Good tutorial here: https://www.rapidspike.com/blog/php7-pthreads/