MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / setid

Function setid

src/sys/proc.rs:405–408  ·  view source on GitHub ↗

Set ID

(id: usize)

Source from the content-addressed store, hash-verified

403
404// Set ID
405pub fn setid(id: usize)
406{
407 PID.store(id, Ordering::SeqCst)
408}
409
410
411// Set registers

Callers 2

execMethod · 0.85
exitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected