class

Herd::Cluster

Inherits Reference < Object

Constructors

new(threads : Int32)

Create the cluster

Source

Class methods

thread

Return the current thread

Source

Instance methods

execute

Specify a block to execute @threads times

Source
fork(env : Hash)

Fork the current process

Source
is_master

Check if the current process is the master

Source
is_slave

Check if the current process is a slave

Source