[ruby-cvs:67764] normal:r60583 (trunk): dir: Dir.chdir releases GVL

normal at ruby-lang.org normal at ruby-lang.org
Tue Oct 31 08:47:27 JST 2017

normal	2017-10-31 08:47:27 +0900 (Tue, 31 Oct 2017)

  New Revision: 60583


    dir: Dir.chdir releases GVL
    chdir(2) is subject to all the pathological slowdowns and
    caveats as open(2) on slow or unreliable filesystems, so ensure
    other threads can proceed while this is happening.
    * dir.c (nogvl_chdir): new function
    * dir.c (dir_chdir): release GVL

  Modified files:

More information about the ruby-cvs mailing list