[ruby-cvs:68042] normal:r60861 (trunk): File.mkfifo releases GVL

normal at ruby-lang.org normal at ruby-lang.org
Mon Nov 20 11:29:35 JST 2017


normal	2017-11-20 11:29:35 +0900 (Mon, 20 Nov 2017)

  New Revision: 60861

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

  Log:
    File.mkfifo releases GVL
    
    mkfifo(3) is subject to the same problems as open(2) on slow
    filesystems.  Release the GVL and let the rest of the VM run
    while we call mkfifo.
    
    * file.c (nogvl_mkfifo): new function
      (rb_file_s_mkfifo): release GVL

  Modified files:
    trunk/file.c


More information about the ruby-cvs mailing list