Module context

Source

Re-exportsยง

pub use self::arc::*;
pub use self::arch::*;
pub use self::local::*;

Modulesยง

arc ๐Ÿ”’
arch ๐Ÿ”’
local ๐Ÿ”’

Structsยง

Base ๐Ÿ”’
Implementation of pcpu structure.
ContextSetup
Output of the context setup function.
PinnedContext
RAII struct to pin the current thread to a CPU.

Functionsยง

current_arch
Interrupt safety
current_config
Interrupt safety
current_procmgr
Returns None if called from context setup function.
current_thread
Interrupt safety
current_thread_offset
current_uma
Returns None if called from context setup function.
pin_cpu
Pin the calling thread to one CPU.
run_with_contextโš 
See pcpu_init on the Orbis for a reference.