summaryrefslogtreecommitdiff
path: root/spec/ruby/shared/basicobject
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-19 05:03:17 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-19 05:03:17 +0000
commit6b58fd54d819d6356bc51bba82baf9565fd11854 (patch)
tree3b4a4be25aef0a0dadcd628012c1e985fa050a5c /spec/ruby/shared/basicobject
parent935d29f73cc9abed70ef2dbc2ca423e032c2199f (diff)
File.readlink and rb_readlink releases GVL
The `readlink' can stall on slow filesystems like `open' and `read' syscalls. Release the GVL and let the rest of the VM function while `readlink' runs. * file.c (nogvl_readlink): new function (readlink_without_gvl): ditto (rb_readlink): use readlink_without_gvl git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/shared/basicobject')
0 files changed, 0 insertions, 0 deletions