tarcieri/nio4r — pull request #3 by loganb (2012-04-09 02:25:56+00:00)
Title: Add a has_monitors? method to Selector

hello,

I added a method, has_monitors?, to Selector which is handy if you need to determine if it's time to terminate an event loop. I tested this on Ruby1.9, but I haven't tested the other platforms or the Ruby-only.