From: "ara.t.howard" Date: 2007-09-12T04:36:05+09:00 Subject: Re: Thoughts on loops and stacks On Sep 11, 2007, at 1:01 PM, Todd A. Jacobs wrote: > Suggestions? > require 'thread' q = Queue.new consumer = Thread.new do while(( pair = q.pop )) event, data, *ignored = pair case event when :something when :something_else end end end q.push [:somthing, 'some data'] ... a @ http://drawohara.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama