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

Function thread_exit

euralios_std/src/syscalls.rs:215–221  ·  view source on GitHub ↗

Exit the current thread. Never returns.

()

Source from the content-addressed store, hash-verified

213
214/// Exit the current thread. Never returns.
215pub fn thread_exit() -> ! {
216 unsafe {
217 asm!("syscall",
218 in("rax") SYSCALL_EXIT_THREAD,
219 options(noreturn));
220 }
221}
222
223/// Gives up the processor for another thread to run.
224///

Callers 2

panicFunction · 0.85
_startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected