MCPcopy Create free account
hub / github.com/Starry-OS/StarryOS / is_accessing_user_memory

Method is_accessing_user_memory

core/src/task.rs:148–150  ·  view source on GitHub ↗

Check if the thread is accessing user memory.

(&self)

Source from the content-addressed store, hash-verified

146
147 /// Check if the thread is accessing user memory.
148 pub fn is_accessing_user_memory(&self) -> bool {
149 self.accessing_user_memory.load(Ordering::Acquire)
150 }
151
152 /// Set the accessing user memory flag.
153 pub fn set_accessing_user_memory(&self, accessing: bool) {

Callers 1

handle_page_faultFunction · 0.80

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected