diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-25 02:32:15 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-25 02:32:15 +0000 |
commit | 7c31c2738c7d02e5a9ac6167c650cb8a5411321d (patch) | |
tree | 80f46a5c876e349aace12119135935ae622992d1 /rubystub.c | |
parent | a48022489f14f22aca34137e998bf7ffdd5c98c1 (diff) |
drb: close graceful shutdown pipe before socket
Closing a listen socket while entering select(2) may
trigger IOError or even deadlock because another thread
may give the file descriptor to another file description;
meaning the kernel can wait on the wrong description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubystub.c')
0 files changed, 0 insertions, 0 deletions