summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-01 00:17:11 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-01 00:17:11 +0000
commitf5f6232399b1e4bf6b702b51bef4d9e36b42df1b (patch)
tree4dbd81e9b398953e0ec4ba5ea9f865bd99b61029 /file.c
parente63dd598a719a94dc1a0c8ec94c82130f3552a44 (diff)
dir: Dir.mkdir and Dir.rmdir release GVL
This avoids blocking the entire VM when operating on slow or unreliable filesystems. Instead, only the thread performing the mkdir or rmdir operation is blocked and other threads are free to proceed. * dir.c (nogvl_mkdir): new function (nogvl_rmdir): ditto (dir_s_mkdir): release GVL (dir_s_rmdir): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
0 files changed, 0 insertions, 0 deletions