summaryrefslogtreecommitdiff
path: root/include/ruby/io/buffer.h
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2023-11-06 20:30:56 +0900
committerYusuke Endoh <mame@ruby-lang.org>2023-11-07 04:39:09 +0900
commitd0066211f2052bf1444ffeb11544860a12cebff2 (patch)
tree4d000252cfa1909711f2c04092bd723d654e2427 /include/ruby/io/buffer.h
parent15560cce5f8709b8790bfde1528007c26654d168 (diff)
Detach a pthread after pthread_setaffinity_np
After a pthread for getaddrinfo is detached, we cannot predict when the thread will exit. It would lead to a segfault by setting pthread_setaffinity to the terminated pthread. I guess this problem would be more likely to occur in high-load environments. This change detaches the pthread after pthread_setaffinity is called. [Feature #19965]
Diffstat (limited to 'include/ruby/io/buffer.h')
0 files changed, 0 insertions, 0 deletions