diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-27 07:10:11 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-27 07:10:11 +0000 |
commit | bc855ef1391bb79ca3554f67ae2d3aad19178d94 (patch) | |
tree | 938f7eda4c5ba629f52cef40ed2cea4df4b0d36a /cont.c | |
parent | 20659e0036a0c45063fc77bb331cffe152679f3c (diff) | |
download | ruby-bc855ef1391bb79ca3554f67ae2d3aad19178d94.tar.gz |
thread.c: fix race between read and close
* thread.c (rb_thread_fd_close): wait until all threads using the
fd finish the operation, not to free the buffer in use.
[ruby-core:78845] [Bug #13076]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
0 files changed, 0 insertions, 0 deletions