about summary refs log tree commit homepage
path: root/lib/sleepy_penguin/epoll.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sleepy_penguin/epoll.rb')
-rw-r--r--lib/sleepy_penguin/epoll.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sleepy_penguin/epoll.rb b/lib/sleepy_penguin/epoll.rb
index 4d23968..7d173c8 100644
--- a/lib/sleepy_penguin/epoll.rb
+++ b/lib/sleepy_penguin/epoll.rb
@@ -52,6 +52,9 @@ class SleepyPenguin::Epoll
   # single-threaded applications. +maxevents+ defaults to 64 events.
   # +timeout+ is specified in milliseconds, +nil+
   # (the default) meaning it will block and wait indefinitely.
+  #
+  # As of sleepy_penguin 3.5.0+, it is possible to nest
+  # #wait calls within the same thread.
   def wait(maxevents = 64, timeout = nil)
     # snapshot the marks so we do can sit this thread on epoll_wait while other
     # threads may call epoll_ctl.  People say RCU is a poor man's GC, but our