From: "mame (Yusuke Endoh)" Date: 2012-11-05T20:44:30+09:00 Subject: [ruby-core:48898] [ruby-trunk - Feature #7086][Assigned] ConditionVariable#wait has meaningless return value 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/