Skip to main content

SHARED_STATE

Constant SHARED_STATE 

Source
pub const SHARED_STATE: u32 = 0;
Expand description

The payload word a Shape::Shared object keeps its lock in.

Zero is “no task holds this cell”, which is what a freshly allocated cell’s zeroed payload already says — the same reason a Repr::Host word is one past its index.