diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-20 07:27:28 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-20 07:27:28 +0000 |
commit | 8d9a9aab67d6d517995532737a37379c20dc7f76 (patch) | |
tree | 575616799a958a610d9a8de61fa0d901c1c7f654 /coroutine | |
parent | 259173ccc00e0ef754e33bc134de1a0731a6b51e (diff) | |
download | ruby-8d9a9aab67d6d517995532737a37379c20dc7f76.tar.gz |
thread_pthread.c (rb_reserved_fd_p): false-positive on negative FD
Negative-numbered FDs are never valid FDs on POSIX-like
platforms, and we initialize our self-pipes/eventfd values
to "-1", so stop treating -1 as a reserved FD if our system
is too low on resources to allocate FDs at startup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'coroutine')
0 files changed, 0 insertions, 0 deletions