From: Trans Date: 2008-07-10T02:50:21+09:00 Subject: Re: Thread-safe priority queue? On Jul 9, 9:08 am, "Sean O'Halpin" wrote: > Hi, > > Does anyone know of a solid, thread-safe priority queue implementation in Ruby? > > The only one I can find is Joel Vanderwerf's > (http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/9d...) > which doesn't work with more recent versions of ruby (because Queue > implementation changed from Ruby to C). Hmm... I'm not sure if Facets implementation is thread safe. It's may be worth a look. If I recall correctly, Olivier Renaud was the last to work on it, so he may know more. If it isn't thread safe, btw, it would make a nice patch. T.