Skip to main content

Module exec

Module exec 

Source
Expand description

Where the engine’s work runs: the thread pool and its task groups (pool), the run loop’s queue (queue), the queue that wakes a host’s loop (event_queue), named threads (thread) and what a panic on one of them reports (panic).

Modules§

event_queue
A queue of events that producers push and one owner drains.
panic
Panics that the library survives. A panic is a bug in the library: the work that hit it fails, with the panic’s message, instead of the process.
pool
Where background work runs: a Pool of worker threads, and the TaskGroups of its tasks that an owner waits for.
queue
The work of a thread that owns some state: a Queue of tasks that take the state by &mut, posted from any thread and run by the owning thread in its turns.
thread
The threads mln-rs starts, and the waits for them to end.