Exception: Roby::ExecutionEngine::JoinAllWaitingWorkTimeout Private
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Roby::ExecutionEngine::JoinAllWaitingWorkTimeout
- Defined in:
- lib/roby/execution_engine.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #waiting_work ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(waiting_work) ⇒ JoinAllWaitingWorkTimeout
constructor
private
A new instance of JoinAllWaitingWorkTimeout.
- #pretty_print(pp) ⇒ Object private
Constructor Details
#initialize(waiting_work) ⇒ JoinAllWaitingWorkTimeout
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of JoinAllWaitingWorkTimeout.
408 409 410 411 412 |
# File 'lib/roby/execution_engine.rb', line 408 def initialize(waiting_work) super() @waiting_work = waiting_work.dup end |
Instance Attribute Details
#waiting_work ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
406 407 408 |
# File 'lib/roby/execution_engine.rb', line 406 def waiting_work @waiting_work end |
Instance Method Details
#pretty_print(pp) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
414 415 416 417 418 419 420 421 422 423 424 425 |
# File 'lib/roby/execution_engine.rb', line 414 def pretty_print(pp) pp.text "timed out in #join_all_waiting_work, #{waiting_work.size} promises waiting" waiting_work.each do |w| pp.breakable pp.nest(2) do if w.respond_to?(:state) pp.text "[state=#{w.state}] " end w.pretty_print(pp) end end end |