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.