Gets the priority of a thread.
a0tError | a0GetThreadPriority( | | | |
| | a0tThread | *thread, | |
| | int | *priority );
| |
| Name | rd/wr | Description |
| thread | read | Thread to find out the priority |
| priority | write | The priority of the given thread. |
On return of this function, the variable pointed by priority contains the priority of a given thread.
| Error Code | Description |
A0Err...| Some error occurred. | |
A0ErrOk| Successful completion. | |
A0DefaultPriority a0SetDefaultPriority() a0SetThreadPriority()