[src]

Module std::rt::task

Implementations of language-critical runtime features like @. Implementations of language-critical runtime features like @. Language-level runtime services that should reasonably expected to be available 'everywhere'. Local heaps, GC, unwinding, local storage, and logging. Even a 'freestanding' Rust would likely want to implement this.

BlockedTasks
Death

Per-task state related to task death, killing, failure, etc.

GarbageCollector
LocalStorage
Task

The Task struct represents all state associated with a rust task. There are at this point two primary "subtypes" of task, however instead of using a subtype we just have a "task_type" field in the struct. This contains a pointer to another struct that holds the type-specific state.

BlockedTask

A handle to a blocked task. Usually this means having the ~Task pointer by ownership, but if the task is killable, a killer can steal it at any time.

DeathAction