Project

General

Profile

« Previous | Next » 

Revision f5183827

Added by nobu (Nobuyoshi Nakada) over 7 years ago

thread.c: fix deadlock

  • thread.c (thread_join_sleep): the target thread may exit during
    RUBY_VM_CHECK_INTS_BLOCKING, but sleep_forever does not
    consider the condition change to wait.
    [ruby-core:84248] [Bug #14181]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e