From: Paul Brannan Date: 2002-03-13T01:38:23+09:00 Subject: Re: Some potential RCRs On Wed, Mar 13, 2002 at 01:26:44AM +0900, Bob Alexander wrote: > "p" method should return its last argument, unconverted. This would be useful for debugging. > A "println" method. How would println differ from puts? (Currently, puts appends a newline if there is not one already there; would println always append a newline, even if there is one already there?) > 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. Paul