[][src]Module kernel::context

Context management

Context management

For resources on contexts, please consult wikipedia and osdev

Modules

file

File struct - defines a scheme and a file number File structs

memory

Memory struct - contains a set of pages for a context

signal

Signal handling

timeout

Timeout handling

Structs

Context

A context, which identifies either a process or a thread

ContextId
ContextList

Context list type

WaitpidKey

Enums

Status

The status of a context - used for scheduling See syscall::process::waitpid and the sync module for examples of usage

Constants

CONTEXT_MAX_CONTEXTS

Limit on number of contexts

CONTEXT_MAX_FILES

Maximum context files

Functions

context_id
contexts

Get the global schemes list, const

contexts_mut

Get the global schemes list, mutable

init
switch

Switch to the next context