Gets the thread descriptor of the calling thread.
a0tError | a0GetSelfThread( | | | |
| | a0tThread | *thread );
| |
| Name | rd/wr | Description |
| thread | write | The thread descritor of the caller thread. |
On return of this function, the variable pointed by thread contains the thread descritor of the calling thread.
| Error Code | Description |
A0Err...| Some error occurred. | |
A0ErrOk| Successful completion. | |