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