1.9: ConditionVariable#wait should return self
----------------------------------------------
Key: JRUBY-4956
URL: http://jira.codehaus.org/browse/JRUBY-4956
Project: JRuby
Issue Type: Bug
Reporter: Roger Pack
Assignee: Thomas E Enebo
Priority: Minor
ref (MRI 1.9.2):
> a = Mutex.new; a.synchronize { ConditionVariable.new.wait(a, 0) }
=> #<ConditionVariable:0x20ac168 @waiters=[#<Thread:0x1729cf8 run>],
@waiters_mutex=#<Mutex:0x20ac138>>
Though I'd be happy to leave it the way it is..
http://redmine.ruby-lang.org/issues/show/2629
Which way do we want, anyway?
-r
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email