[ruby-cvs:71225] normal:r64133 (trunk): thread_pthread.c (gvl_yield): do ubf wakeups when uncontended

normal at ruby-lang.org normal at ruby-lang.org
Tue Jul 31 03:53:47 JST 2018


normal	2018-07-31 03:53:46 +0900 (Tue, 31 Jul 2018)

  New Revision: 64133

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

  Log:
    thread_pthread.c (gvl_yield): do ubf wakeups when uncontended
    
    Not having contention for GVL could mean everybody else is stuck
    in blocking region without GVL, so we kick the ubf list in that
    case.
    
    I expect this to fix test_thread_fd_close timeout:
    http://ci.rvm.jp/results/trunk-test@ruby-sky3/1173398

  Modified files:
    trunk/thread_pthread.c


More information about the ruby-cvs mailing list