unify rb_gc() handling for out-of-FD conditions
commit207f50b31a41071d3154c2f752967e50ff056488
authorEric Wong <e@80x24.org>
Mon, 2 Jan 2017 00:23:36 +0000 (2 00:23 +0000)
committerEric Wong <e@80x24.org>
Mon, 2 Jan 2017 00:23:36 +0000 (2 00:23 +0000)
tree6fcc11f39e1b8f1f584a8015b6cc79773a09ca51
parent3d1dd0aca4074a44fa5658de12eb8b89ff649114
unify rb_gc() handling for out-of-FD conditions

This should hopefully simplify logic a bit and avoid expensive
access to errno.
ext/sleepy_penguin/epoll.c
ext/sleepy_penguin/eventfd.c
ext/sleepy_penguin/inotify.c
ext/sleepy_penguin/sleepy_penguin.h
ext/sleepy_penguin/timerfd.c
ext/sleepy_penguin/util.c