ThreadInfo

Encapsulates all implementation-level data needed for scheduling.

When defining a Scheduler, an instance of this struct must be associated with each logical thread. It contains all implementation-level information needed by the internal API.

struct ThreadInfo {
Tid ident;
bool[Tid] links;
Tid owner;
}

Members

Functions

cleanup
void cleanup()

Cleans up this ThreadInfo.

Properties

thisInfo
ref thisInfo [@property getter]

Gets a thread-local instance of ThreadInfo.

Meta