Gets a thread context.
a0tError | a0GetSelfContext( | | | |
| | a0tContext | *context | |
| | void | **data );
| |
| Name | rd/wr | Description |
| context | read | Context descriptor. |
| data | write | Data associated with the desciptor. |
On return of this function, the variable pointed by data contains the data previously associated to the thread context descritor context. Each thread returns its own private data for the same context descriptor.
| Error Code | Description |
A0Err...| Some error occurred. | |
A0ErrOk| Successful completion. | |
a0NewContext() a0SetSelfContext()