class INotify::Notifier
def stop
That is, if we're in a \{#run} loop,
Stop watching for filesystem events.
def stop @stop = true @pipe.last.write "." unless Thread.current[:INOTIFY_RUN_THREAD] @running.synchronize do # no-op: we just needed to wait until the lock was available end end end