diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-09 16:33:02 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-09 16:33:02 +0000 |
commit | ce28a7539d28fb9c2fa77b0df51c4d35165442ce (patch) | |
tree | ff95e2993d191741dd44042be196b1a2a4e68bb3 /ChangeLog | |
parent | 6cf4e97b3ede0d34511e2a7b70ca611a526dc554 (diff) | |
download | ruby-ce28a7539d28fb9c2fa77b0df51c4d35165442ce.tar.gz |
* process.c: Release GVL when opening a file in spawn() to avoid whole
process blocking when opening a named pipe.
(open_func): New function.
(rb_execarg_parent_start1): Extracted from rb_execarg_parent_start and
use rb_thread_call_without_gvl2 to release GVL when opening a file.
(rb_execarg_parent_start): Invoke rb_execarg_parent_start1 via
rb_protect and invoke rb_execarg_parent_end when error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +Fri Apr 10 01:29:05 2015 Tanaka Akira <akr@fsij.org> + + * process.c: Release GVL when opening a file in spawn() to avoid whole + process blocking when opening a named pipe. + (open_func): New function. + (rb_execarg_parent_start1): Extracted from rb_execarg_parent_start and + use rb_thread_call_without_gvl2 to release GVL when opening a file. + (rb_execarg_parent_start): Invoke rb_execarg_parent_start1 via + rb_protect and invoke rb_execarg_parent_end when error. + Thu Apr 9 22:19:19 2015 Tanaka Akira <akr@fsij.org> * process.c (redirect_open): Removed. |