task. h
UBaseType_t uxTaskBasePriorityGet( const TaskHandle_t xTask );
INCLUDE_uxTaskPriorityGet and configUSE_MUTEXES must be defined as 1 for this function to be available. See the RTOS Configuration documentation for more information.
Obtain the base priority of any task. The base priority of a task is the priority to which the task will return if the task's current priority has
been inherited to avoid unbounded priority inversion when obtaining a mutex.
- Parameters:
-
xTask | Handle of the task to be queried. Passing a NULL handle results in the base priority of the calling task being returned. |
- Returns:
- The base priority of xTask.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.