Flowdock
wait(timeout = nil) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/monitor.rb, line 90
    def wait(timeout = nil)
      if timeout
        raise NotImplementedError, "timeout is not implemented yet"
      end
      @monitor.__send__(:mon_check_owner)
      count = @monitor.__send__(:mon_exit_for_cond)
      begin
        @cond.wait(@monitor.instance_variable_get("@mon_mutex"))
        return true
      ensure
        @monitor.__send__(:mon_enter_for_cond, count)
      end
    end
Register or log in to add new notes.