From: Jon Handler Date: 2007-10-16T01:15:03+09:00 Subject: Re: Is there a standard pattern for threaded access to a fil 7stud -- wrote: > Actually, the example provided won't even work in your case. You have > to do some extra things. > >> >> I'm pretty new to ruby >> > > A Queue is a first in first out container, which means the items you > push() into one end of the Queue are the first items that pop() out the > other end. A Queue is also thread safe, which means that only one > thread can access it at the same time. Slapping forehead... of course! Producer/Consumer = q. Thanks! -- Posted via http://www.ruby-forum.com/.