Sets the priority of a thread.
a0tError a0SetThreadPriority( | | | |
| a0tThread | *thread, | |
| int | priority );
| |
Name | rd/wr | Description |
thread | read | Thread to change the priority. |
priority | read | New priority to the thread. |
This function changes dynamically the priority of a given thread. See A0DefaultPriority for possible values.
Error Code | Description |
A0Err...Some error occurred. | |
A0ErrOkSuccessful completion. | |
a0SetThreadScheduling() A0DefaultPriority a0SetDefaultPriority() a0StartRemoteThread() a0NewService() a0GetThreadPriority() a0SetDefaultPriority()