shared

Macro shared 

Source
macro_rules! shared {
    ($vis:vis $name:ident : $ty:ty) => { ... };
}
Expand description

Declare a static wrapped in StaticCell for cross-thread shared state.

§Example

ove::shared!(QUEUE: Queue<u32, 8>);
// then use QUEUE.send(...) directly — Deref eliminates .get()