From: Russell Fulton Date: 2009-10-07T12:28:37+09:00 Subject: errors with monitor getting this error in a synchronize call: /usr/lib/ruby/1.8/monitor.rb:212:in `mon_enter': undefined method `+' for nil:NilClass (NoMethodError) from /usr/lib/ruby/1.8/monitor.rb:236:in `synchronize' class definition is here: class SyncPipe < IO include MonitorMixin def initialize( p ) @file = IO.popen( p ) end def puts( output) synchronize do @file.puts(output) end end def close @file.close end end The idea is to have a pipe that threads can write their output too without interfering with each other.... Any idea what is going wrong. I had this working at one stage, sigh... Russell -- Posted via http://www.ruby-forum.com/.