pquit
| Number | 0x00 |
|---|---|
| Signature | (status) -> never returns |
| Group | task |
| Since | 1.0 |
Terminate the calling process. The status is delivered verbatim to the parent through
wait, with no kill tag: this is how a voluntary exit is distinguished from a pkill or
a fault death, which carry KILLED_TAG.
Pitfalls
Do not use pquit to exit a thread unless you want the thread to terminate the entire process. Use tquit for a single thread.
Arguments
| Register | Name | Description |
|---|---|---|
r0 | status | Exit status stored in the PCB, retrievable by the parent via wait |
Returns
Does not return.