Crate ncomm_executors

Source
Expand description

NComm-Executors provides a set of executors (kind of like schedulers) for nodes.

The main idea with this create is to make executing nodes fit the specific use case. Specifically, there may be times when a Threadpooled model works best or another use case where a Green-threaded Tokio implementation works best.

Ideally, this crate should contain all of the commonly used executors that conform to the common ncomm-core traits to make creating robotics systems as easy and pain-free as possible.

Re-exports§

pub use simple_executor::SimpleExecutor;
pub use threadpool_executor::ThreadPoolExecutor;
pub use threaded_executor::ThreadedExecutor;

Modules§

simple_executor
The Simple Executor
threaded_executor
The Threaded Executor takes control of a given number of threads and sends a simple executor over each of the threads to execute Nodes.
threadpool_executor
The Threadpool Executor takes control of a number of threads and schedules nodes to be run on a threadpool