[ruby-cvs:71540] eregon:r64448 (trunk): Revert r64441

eregon at ruby-lang.org eregon at ruby-lang.org
Sat Aug 18 22:52:53 JST 2018


eregon	2018-08-18 22:52:53 +0900 (Sat, 18 Aug 2018)

  New Revision: 64448

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64448

  Log:
    Revert r64441
    
    * This reverts commit 647fc1227a4146ecbfeb0d59358abc8d99cd8ae6:
      "thread_sync.c (rb_mutex_synchronize): only unlock if we own the mutex"
    * Let's try to preserve the semantics of always being locked inside
      Mutex#synchronize, even if an exception interrupts ConditionVariable#wait.
    * As discussed on [Bug #14999].

  Modified files:
    trunk/spec/ruby/library/conditionvariable/wait_spec.rb
    trunk/thread_sync.c


More information about the ruby-cvs mailing list