thread.c (thlist_signal): clears the woken thread if nothing woke.
thread.c (rb_barrier_wait): achieves the lock if no thread was waiting yet.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
thread.c (thlist_signal): clears the woken thread if nothing woke.
thread.c (rb_barrier_wait): achieves the lock if no thread was
waiting yet.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e