kernel::capabilities

Trait MainLoopCapability

Source
pub unsafe trait MainLoopCapability { }
Expand description

The MainLoopCapability capability allows the holder to start executing as well as manage the main scheduler loop in Tock.

This is needed in a board’s main.rs file to start the kernel. It also allows an external implementation of Process to update state in the kernel struct used by the main loop.

Implementors§