From: "kosaki (Motohiro KOSAKI)" Date: 2012-12-16T00:25:40+09:00 Subject: [ruby-core:50915] [Archive91 - Backport #3212][Closed] ConditionVariable may become inconsistent for interrupted threads Issue #3212 has been updated by kosaki (Motohiro KOSAKI). Tracker changed from Bug to Backport Description updated Status changed from Open to Closed ConditionVariable @waiter issue was fixed at r38080. ---------------------------------------- Backport #3212: ConditionVariable may become inconsistent for interrupted threads https://bugs.ruby-lang.org/issues/3212#change-34768 Author: sylvain.joyeux (Sylvain Joyeux) Status: Closed Priority: High Assignee: Category: core Target version: =begin While tracking another issue with ConditionVariable, I realized that ConditionVariable#wait assumes that the waking-up side (#signal and #broadcast) will remove the thread from the list of waiters. Unfortunately, Mutex#sleep may return right away if an interrupt is set for the thread, in which case the thread will stay in the condition variable's waiting list. =end -- http://bugs.ruby-lang.org/