diff options
author | Matthew Draper <matthew@trebex.net> | 2016-10-06 10:31:14 +1030 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2016-10-06 10:31:14 +1030 |
commit | 4a7c5685c86d0349c98b2725ad01aa70ebcc3581 (patch) | |
tree | baadb3ec9881ed879203967f993fcbd19196a14a /Gemfile | |
parent | de9a56b66af928a09f85daf15ffb1c2023a7c1b8 (diff) | |
download | rails-4a7c5685c86d0349c98b2725ad01aa70ebcc3581.tar.gz rails-4a7c5685c86d0349c98b2725ad01aa70ebcc3581.tar.bz2 rails-4a7c5685c86d0349c98b2725ad01aa70ebcc3581.zip |
Close the IO from the read loop thread
IO#close and IO#read across threads don't get along so well:
After T1 enters #read and releases the GVL, T2 can call #close on the
IO, thereby both closing the fd and freeing the buffer while T1 is using
them.
Diffstat (limited to 'Gemfile')
0 files changed, 0 insertions, 0 deletions