def add_watcher(watcher)

      @watchers[watcher.id] = watcher

      @dwChangeHandles.push watcher.id

      # Pack event handles into newly created storage area 
      # to be used for Win32 call
      @lp_dwChangeHandles = dwChangeHandles.pack("L" * dwChangeHandles.count)

    end
def add_watcher(watcher)

      @watchers[watcher.id] = watcher

      @dwChangeHandles.push watcher.id

      # Pack event handles into newly created storage area 
      # to be used for Win32 call
      @lp_dwChangeHandles = dwChangeHandles.pack("L" * dwChangeHandles.count)

    end
Creates a new {Notifier}.

 @return [Notifier]
 Adds a new {Watcher} to the queue.