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

Method set_exit

core/src/task.rs:143–145  ·  view source on GitHub ↗

Set the thread to exit.

(&self)

Source from the content-addressed store, hash-verified

141
142 /// Set the thread to exit.
143 pub fn set_exit(&self) {
144 self.exit.store(true, Ordering::Release);
145 }
146
147 /// Check if the thread is accessing user memory.
148 pub fn is_accessing_user_memory(&self) -> bool {

Callers 1

do_exitFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected