chrisboulton/php-resque — pull request #189 by Rockstar04 (2014-05-14 14:10:21+00:00)
Title: Move wait to a look

Putting the thread to sleep with wait no longer allows signals to be captured (PHP 5 >= 5.3.0). This allow signals like USR1 to be used again.

http://www.php.net/manual/en/function.pcntl-signal.php#114575
http://www.php.net/manual/en/function.pcntl-signal-dispatch.php