C
Chris Wailes
I know it's an odd combination, but I have a situation where a thread
pulls a fiber off of a queue and then calls `resume` on it. I used to
use Proc objects but I need the ability to stop and start the jobs while
they are being executed so I switched to Fibers.
The problem I am having is that the thread hangs once it calls `resume`.
As far as I can tell nothing inside the fiber gets executed. Does
anyone know why this might be happening?
I'm currently using Ruby v 1.9.1p243.
pulls a fiber off of a queue and then calls `resume` on it. I used to
use Proc objects but I need the ability to stop and start the jobs while
they are being executed so I switched to Fibers.
The problem I am having is that the thread hangs once it calls `resume`.
As far as I can tell nothing inside the fiber gets executed. Does
anyone know why this might be happening?
I'm currently using Ruby v 1.9.1p243.