diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-04-03 12:23:59 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-04-03 12:23:59 +0000 |
commit | f35a7770cd9ceeb88411f23b3595c4bf6ec78d79 (patch) | |
tree | 75b08d64e1c37a3c6d841db2539772bf584fc606 /ChangeLog | |
parent | 8a6e9ec085ff08a106ec7e143df03fd46c1431f3 (diff) | |
download | ruby-f35a7770cd9ceeb88411f23b3595c4bf6ec78d79.tar.gz |
* io.c (io_reopen): IO#close releases GVL if possible.
close() may block for certain file types (NFS, SO_LINGER
sockets, inotify), so let other threads run. The patch was
created by Eric Wong [ruby-core:35555][Bug #4527]
* io.c (fptr_finalize): ditto.
* io.c (maygvl_fclose): new.
* io.c (nogvl_fclose): ditto.
* io.c (maygvl_close): ditto.
* io.c (nogvl_close): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +Sun Apr 3 21:16:20 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> + + * io.c (io_reopen): IO#close releases GVL if possible. + close() may block for certain file types (NFS, SO_LINGER + sockets, inotify), so let other threads run. The patch was + created by Eric Wong [ruby-core:35555][Bug #4527] + + * io.c (fptr_finalize): ditto. + + * io.c (maygvl_fclose): new. + * io.c (nogvl_fclose): ditto. + * io.c (maygvl_close): ditto. + * io.c (nogvl_close): ditto. + Fri Apr 1 22:25:50 2011 Tanaka Akira <akr@fsij.org> * ext/syslog/syslog.c: parenthesize macro arguments. |