MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / context

Method context

kernel/src/process.rs:158–160  ·  view source on GitHub ↗

Get a reference to the thread Context

(&self)

Source from the content-addressed store, hash-verified

156
157 /// Get a reference to the thread Context
158 fn context(&self) -> &Context {
159 unsafe {& *(self.context as *const Context)}
160 }
161
162 /// Get a mutable reference to the thread Context
163 fn context_mut(&self) -> &mut Context {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected