lib/elevate/io_coordinator.rb
# Marks the specified operation as one that will potentially block the
# worker thread for a significant amount of time.
#
# @param operation [#cancel]
#   operation responsible for blocking
#
# @return [void]
#
# @api public
Marks the specified operation as one that will potentially block the
worker thread for a significant amount of time.
Marks the specified operation as one that will potentially block the worker thread for a significant amount of time .
def signal_blocked(operation)
      check_for_cancellation
      @lock.lock
      @blocking_operation = operation
      @lock.unlock
    end
def signal_blocked ( operation ) check_for_cancellation @lock . lock @blocking_operation = operation @lock . unlock end
Marks the specified operation as one that will potentially block the
worker thread for a significant amount of time.
Marks the specified operation as one that will potentially block the worker thread for a significant amount of time .
None
void
operation
operation responsible for blocking
operation responsible for blocking
api
None