Module executor

Module executor 

Source

Modules§

stats

Functions§

and_connect
The and_connect method adds an additional instruction set and communication channel to the machine. The communicate channel ib bound to a default size.
and_connect_unbounded
The and_connect_unbounded method adds an additional instruction set and sender to the machine. The communication channel is unbound.
and_connect_with_capacity
The and_connect_with_capacity method adds an additional instruction set and sender to the machine. The communication channel is bound to the specified size.
connect
The connect method creates a machine, implementing an instruction set. The machine has a bound communication channel of a default size receiving those instructions.
connect_unbounded
The connect_unbounded method creates a machine with an unbounded queue. It can result in a panic if system resources become exhausted.
connect_with_capacity
The connect_with_capacity method creates a machine with a bounded queue of the specified size.
get_default_channel_capacity
The get_default_channel_capacity function returns the default value.
get_executor_count
The get_executor_count returns the number of executor threads.
get_executors_snoozing
get_machine_count
The get_machine_count function returns the number of machines in the collective.
get_machine_count_estimate
The get_machine_count_estimate function returns the current estimate.
get_run_queue_len
get_selector_maintenance_durationDeprecated
The get_selector_maintenance_duration function returns the current maintenance duration.
get_time_slice
The get_time_slice function returns the current timeslice value.
set_default_channel_capacity
The set_default_channel_capacity function sets a new default value. setting should be performed before starting the server.
set_executor_count
The set_executor_count sets the number of executor threads. This should be performed prior to starting the server.
set_machine_count_estimate
The set_machine_count_estimate function sets the current estimate. The estimate should be set before starting the server.
set_selector_maintenance_durationDeprecated
The set_selector_maintenance_duration function sets the current maintenance duration.
set_time_slice
The set_time_slice function sets the current timeslice value. This should be performed before starting the server.
start_server
The start_server function starts the server, putting it in a state where it can create machines that are connected to the collective.
stop_server
The stop_server function stops the server, releasing all resources.