From: Robert Klemme Date: 2010-07-01T20:14:30+09:00 Subject: Re: Synchronized Circular Buffer 2010/7/1 Sam Dalton : > Thanks for the help, it works perfectly now. I see that I should treat > the synchronised block as wrapping the entire method body, just as the > synchronise keyword would in Java. Makes sense :) Not necessarily. The synchronized block must be only as long as necessary to guard the critical section. I'd rather say, it's bad to always synchronize complete methods. > Is it possible to subscribe to this forum via RSS (or another method)? There is news:comp.lang.ruby and ruby-talk mailing list - all are mirrored full duplex (see [1]). > Looking forward to the day when I've improved enough to help others. The day will come - inevitably. :-) Kind regards robert [1] http://www.ruby-lang.org/en/community/mailing-lists/ -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/