Issue #7086 has been updated by mame (Yusuke Endoh).

Status changed from Open to Assigned
Target version set to next minor


----------------------------------------
Feature #7086: ConditionVariable#wait has meaningless return value
https://bugs.ruby-lang.org/issues/7086#change-32394

Author: rklemme (Robert Klemme)
Status: Assigned
Priority: Normal
Assignee: kosaki (Motohiro KOSAKI)
Category: 
Target version: next minor


I consider this an API bug: when invoked with a timeout value the caller cannot distinguish from the return value whether the condition has been signaled or the time has run out.  Consider how Java does it: http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/Condition.html#await(long,%20java.util.concurrent.TimeUnit) and http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/Condition.html#awaitUntil(java.util.Date)

There's another issue exhibited through the script but I will create a separate ticket for this.


-- 
http://bugs.ruby-lang.org/