pthreads-polyfill icon indicating copy to clipboard operation
pthreads-polyfill copied to clipboard

Worker::collect never ends

Open Anahkiasen opened this issue 8 years ago • 1 comments

Not entirely sure why but Worker::collect never returns 0, even when all jobs have been technically processed (ie. I know that they've all ran). It seems to boil down to jobs not being properly moved from Worker::$stacked to Worker::$gc, at least that's what I've found so far.

If I modify the method to only return count($this->gc) all my jobs are processed and the loop ends, but I'm not sure if that's supposed to be correct?

Anahkiasen avatar Apr 02 '16 01:04 Anahkiasen

bump. same issue here.

sucitivel avatar Jan 09 '17 18:01 sucitivel