#include <revolution/os.h>
BOOL OSSetThreadPriority (OSThread* thread, OSPriority priority);
|
Pointer to thread for which to set priority. |
|
New thread base priority (highest = 0 and lowest = 31). |
TRUE if the function succeeds. Otherwise, FALSE (because of incorrect priority value).
Sets the priority to become the base schedule for the specified thread. Lower values correspond to higher priorities. The highest priority is 0. The lowest priority is 31.
Thread Synchronization, Thread Synchronization Functions, OSCreateThread, OSGetThreadPriority
03/01/2006 Initial version.