[ruby-cvs:71209] normal:r64117 (trunk): process.c (waitpid_nogvl): prevent conflicting use of sleep_cond

normal at ruby-lang.org normal at ruby-lang.org
Mon Jul 30 15:35:08 JST 2018


normal	2018-07-30 15:35:08 +0900 (Mon, 30 Jul 2018)

  New Revision: 64117

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

  Log:
    process.c (waitpid_nogvl): prevent conflicting use of sleep_cond
    
    We reuse sleep_cond for waitpid notifications as well as GVL
    waiting.  So we must take care to not hold onto sleep_cond
    when we try to reacquire GVL.
    
    [ruby-core:88183]

  Modified files:
    trunk/process.c


More information about the ruby-cvs mailing list