From: matz@... (Yukihiro Matsumoto) Date: 2003-04-09T03:59:37+09:00 Subject: Re: Creating thread safe classes for Ruby Hi, In message "Creating thread safe classes for Ruby" on 03/04/09, Konstantin Knizhnik writes: |Is there some correct way in Ruby to write thread safe code which will |be also executed outside thread context? Unfortunately mutex does not support nested lock, so that if your method recurse, it doesn't work well. Use monitor. matz.