SinglePool.php 452 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * @author Jenner <hypxm@qq.com>
  4. * @blog http://www.huyanping.cn
  5. * @license https://opensource.org/licenses/MIT MIT
  6. * @datetime: 2015/11/19 21:13
  7. */
  8. namespace Jenner\SimpleFork;
  9. /**
  10. * Only one process will be started at the same time
  11. *
  12. * @package Jenner\SimpleFork
  13. */
  14. class SinglePool extends FixedPool
  15. {
  16. /**
  17. * SinglePool constructor.
  18. */
  19. public function __construct()
  20. {
  21. parent::__construct(1);
  22. }
  23. }