Terminates the current thread.
a0tError | a0ExitThread( | | | |
| | void | *result );
| |
| Name | rd/wr | Description |
| result | read | The result pointer of the thread. |
This function asks to the threads kernel to terminate the calling thread, passing in result the pointer of its results. If this thread is a slave one, the function a0JoinSlave() must be used to wait for the result pointer.
| Error Code | Description |
A0Err...| Some error occurred. | |
A0ErrOk| Successful completion. | |
a0JoinSlave() a0NewSlave() a0DetachSlave()