From: Vladimir Dozen Date: 2002-03-13T18:30:36+09:00 Subject: Re: Some potential RCRs ehlo. >>The built-in Mutex object should be nestable. >>Acquiring a mutex in nested contexts in the same thread should not >>cause deadlock. It doesn't seem appropriate for a language at Ruby's >>level to have a non-nestable Mutex, and it is a pothole for program >>errors. > As an alternative, I would suggest a wrapper around the current Mutex > object. There's a name for this kind of mutex, but I can't remember > what it is. No, it would be WrongWay. Non-recursive mutex is fairly unusable. dozen