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

Method pending_exit

core/src/task.rs:138–140  ·  view source on GitHub ↗

Check if the thread is ready to exit.

(&self)

Source from the content-addressed store, hash-verified

136
137 /// Check if the thread is ready to exit.
138 pub fn pending_exit(&self) -> bool {
139 self.exit.load(Ordering::Acquire)
140 }
141
142 /// Set the thread to exit.
143 pub fn set_exit(&self) {

Callers 1

new_user_taskFunction · 0.80

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected