TERM - terminate current thread, or task if last running thread of task
- Input
-
-
AC - return code for task (if last thread)
-
- Call
-
jsr TERM
- Output
-
== DESCRIPTION Ends the current thread. If still threads in the tasks are running, the return code is ignored. Otherwise the return code is sent to the parent with SIGCHLD.
Please report bugs at https://github.com/fachat/GeckOS-V2/issues