Io module

Fiber_State

enumSource

Where a fiber is in its life: waiting in the pool, ready, running, blocked on a timer, channel or mutex, or finished. It is the scheduler's own bookkeeping; programs rarely need it.

Members

FREE
Waiting in the pool for spawn to reuse it.
READY
In the ready queue.
RUNNING
BLOCKED
Parked: waiting for a timer, a channel, a mutex...
DEAD
Its entry procedure finished.

See also