allow nestable TLS buffers within the same thread
commite7703d878199f24432f707c359668a721b681a77
authorEric Wong <e@80x24.org>
Thu, 16 Mar 2017 09:01:28 +0000 (16 09:01 +0000)
committerEric Wong <e@80x24.org>
Thu, 16 Mar 2017 19:45:09 +0000 (16 19:45 +0000)
treef921335cb118073aaacc810840770109578be7e8
parentb265fd09f9a606582ab423e54a8d2bfb242c2620
allow nestable TLS buffers within the same thread

Users may wish to use our epoll or kqueue interfaces within
their own app running on a web server or some such.

This prevents users from missing events at an increased
allocation cost.
ext/sleepy_penguin/epoll.c
ext/sleepy_penguin/init.c
ext/sleepy_penguin/inotify.c
ext/sleepy_penguin/kqueue.c
ext/sleepy_penguin/sleepy_penguin.h
test/test_epoll.rb
test/test_kqueue.rb