Should I create a new Mutex object per thread accessing a shared
resource or is it per shared resource being accessed. I understand that
I need to create a Mutex object and use the synchronize method to make
the associated block appear as an atomic operation but not sure how to
decide when and how many Mutex objects need to be created. Can someone
explain.

thanks.
-- 
Posted via http://www.ruby-forum.com/.