Class: Async::Container::Threaded
- Defined in:
- lib/async/container/threaded.rb
Overview
A multi-thread container which uses Async::Container::Thread.fork.
Constant Summary
Constants inherited from Generic
Instance Attribute Summary
Attributes inherited from Generic
Class Method Summary collapse
-
.multiprocess? ⇒ Boolean
Indicates that this is not a multi-process container.
Instance Method Summary collapse
-
#start(name, &block) ⇒ Object
Start a named child thread and execute the provided block in it.
Methods inherited from Generic
#[], #async, #failed?, #initialize, #key?, #mark?, #reload, #run, run, #running?, #sleep, #spawn, #status?, #stop, #to_s, #wait, #wait_until_ready
Constructor Details
This class inherits a constructor from Async::Container::Generic
Class Method Details
.multiprocess? ⇒ Boolean
Indicates that this is not a multi-process container.
31 32 33 |
# File 'lib/async/container/threaded.rb', line 31 def self.multiprocess? false end |