From: Tony Arcieri Date: 2009-10-15T01:57:33+09:00 Subject: Re: Problems With Fibers in Threads --001636c9231e04d4e90475e80fc8 Content-Type: text/plain; charset=ISO-8859-1 Are you trying to reschedule a fiber from a different thread? Afaik that doesn't work. On Wed, Oct 14, 2009 at 10:27 AM, Chris Wailes wrote: > 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. > -- > Posted via http://www.ruby-forum.com/. > > -- Tony Arcieri Medioh/Nagravision --001636c9231e04d4e90475e80fc8--