# File lib/listen/adapters/bsd.rb, line 50
      def stop
        @mutex.synchronize do
          return if @stop == true
          super
        end

        @kqueue.stop
        Thread.kill(@kqueue_thread) if @kqueue_thread
        @poll_thread.join if @poll_thread
      end