about summary refs log tree commit homepage
path: root/lib/sleepy_penguin/kqueue.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sleepy_penguin/kqueue.rb')
-rw-r--r--lib/sleepy_penguin/kqueue.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sleepy_penguin/kqueue.rb b/lib/sleepy_penguin/kqueue.rb
index 2620a12..9f55efc 100644
--- a/lib/sleepy_penguin/kqueue.rb
+++ b/lib/sleepy_penguin/kqueue.rb
@@ -52,6 +52,9 @@ class SleepyPenguin::Kqueue
   # Ruby GC, otherwise ObjectSpace._id2ref may return invalid objects.
   # Unlike the low-level Kqueue::IO#kevent, the block given yields only
   # a single Kevent struct, not a 6-element array.
+  #
+  # As of sleepy_penguin 3.5.0+, it is possible to nest #kevent
+  # calls within the same thread.
   def kevent(changelist = nil, *args)
     @mtx.synchronize { __kq_check }
     if changelist