class Threaded
A multi-thread container which uses Thread.fork.
Nested
Definitions
def self.multiprocess?
Indicates that this is not a multi-process container.
Implementation
def self.multiprocess?
false
end
def start(name, &block)
Start a named child thread and execute the provided block in it.
Signature
-
parameter
nameString The name (title) of the child process.
-
parameter
blockProc The block to execute in the child process.
Implementation
def start(name, &block)
Child.fork(name: name, &block)
end