summaryrefslogtreecommitdiff
path: root/thread_sync.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-25 02:32:15 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-25 02:32:15 +0000
commit7c31c2738c7d02e5a9ac6167c650cb8a5411321d (patch)
tree80f46a5c876e349aace12119135935ae622992d1 /thread_sync.c
parenta48022489f14f22aca34137e998bf7ffdd5c98c1 (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 'thread_sync.c')
0 files changed, 0 insertions, 0 deletions