RubySpec #2466: Mutex#lock documentation is incorrect http://redmine.ruby-lang.org/issues/show/2466 Author: Vladimir Sizikov Status: Open, Priority: Normal Currently, it states: mutex.lock => true or false But actually, the Mutex#lock *always* just returns self, which is the most sensible behavior. The doc should be: mutex.lock => self That would be in sync with Mutex#unlock as well.
on 2009-12-09 13:58
on 2010-03-09 05:40
Issue #2466 has been updated by Marc-Andre Lafortune. Status changed from Open to Closed ruby -v set to 1.9 trunk Applied in r26072 ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2466
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.