Module green::task[src]

The Green Task implementation

This module contains the glue to the libstd runtime necessary to integrate M:N scheduling. This GreenTask structure is hidden as a trait object in all rust tasks and virtual calls are made in order to interface with it.

Each green task contains a scheduler if it is currently running, and it also contains the rust task itself in order to juggle around ownership of the values.

Structs

GreenTask

The necessary fields needed to keep track of a green task (as opposed to a 1:1 task).

Enums

Home
TaskType