![]() |
WPILibC++ 2027.0.0-alpha-5
|
Typedefs | |
| typedef const void * | NativeThreadHandle |
Functions | |
| HAL_Status | HAL_GetThreadPriority (NativeThreadHandle handle, int32_t *priority) |
| Gets the specified thread's priority. | |
| HAL_Status | HAL_GetCurrentThreadPriority (int32_t *priority) |
| Gets the current thread's priority. | |
| HAL_Status | HAL_SetThreadPriority (NativeThreadHandle handle, int32_t priority) |
| Sets the specified thread's priority. | |
| HAL_Status | HAL_SetCurrentThreadPriority (int32_t priority) |
| Sets the current thread's priority. | |
| typedef const void* NativeThreadHandle |
| HAL_Status HAL_GetCurrentThreadPriority | ( | int32_t * | priority | ) |
Gets the current thread's priority.
Priorities range from 0 to 99 where 0 is non-real-time, 1-99 are real-time, and 99 is highest priority. See "man 7 sched" for details.
| [out] | priority | The current thread's priority. |
| HAL_Status HAL_GetThreadPriority | ( | NativeThreadHandle | handle, |
| int32_t * | priority ) |
Gets the specified thread's priority.
Priorities range from 0 to 99 where 0 is non-real-time, 1-99 are real-time, and 99 is highest priority. See "man 7 sched" for details.
| [in] | handle | Native thread handle. |
| [out] | priority | The specified thread's priority. |
| HAL_Status HAL_SetCurrentThreadPriority | ( | int32_t | priority | ) |
Sets the current thread's priority.
Priorities range from 0 to 99 where 0 is non-real-time, 1-99 are real-time, and 99 is highest priority. See "man 7 sched" for details.
| [in] | priority | The priority. |
| HAL_Status HAL_SetThreadPriority | ( | NativeThreadHandle | handle, |
| int32_t | priority ) |
Sets the specified thread's priority.
Priorities range from 0 to 99 where 0 is non-real-time, 1-99 are real-time, and 99 is highest priority. See "man 7 sched" for details.
| [in] | handle | The native thread handle. |
| [in] | priority | The priority. |