class NIO::Selector

def initialize

Create a new NIO::Selector
def initialize
  @selectables = {}
  @lock = Mutex.new
  # Other threads can wake up a selector
  @wakeup, @waker = IO.pipe
  @closed = false
end