REFERENCE

Constant REFERENCE 

Source
pub(crate) const REFERENCE: usize = _; // 256usize
Expand description

A single reference.

The lower bits in the state contain various flags representing the task state, while the upper bits contain the reference count. The value of REFERENCE represents a single reference in the total reference count.

Note that the reference counter only tracks the Runnable and Wakers. The Task is tracked separately by the TASK flag.