From: "Richard Cole" <rcole / itee.uq.edu.au> > > In modern systems there are all sorts of system resources that need to > be accounted for and so this idiom often gets resued. I haven't looked > into how multithreading works in ruby yet, but this idiom would also > work quite nicely for mutexes and condition variables I imagine. Indeed, @mutex.synchronize { do; stuff; here } Regards, Bill