From: slonik.az@... Date: 2005-12-26T23:05:25+09:00 Subject: Thread synchronization: Mutex or Monitor?? Hi Rubyists!! Ruby contains two seemingly equivalents tools for thread synchronization: Mutex (defined in thread.rb) and Monitor (defined in monitor.rb). They both implement classic mutex and conditional variable functionality and have the same API. This begs two questions: 1: What is the difference between Monitor and Mutex? 2: Which one of the two is the preferred solution? PickAxe 1-st edition covered Mutex, PickAxe 2-nd edition covers Monitor in main text and Mutex in passing in library reference. Any opinions are highly appreciated. Thanks, --Leo--