Return the maximum available scheduling priority for the policy.
Declared in <bslmt_threadutilimpl_pthread.h>
static
int
getMaxSchedulingPriority(ThreadAttributes::SchedulingPolicy policy);
Return the maximum available priority for the specified policy, where policy is of type ThreadAttributes::SchedulingPolicy. Return ThreadAttributes::BSLMT_UNSET_PRIORITY if the maximum scheduling priority cannot be determined. Note that, for some platform / policy combinations, getMinSchedulingPriority(policy) and getMaxSchedulingPriority(policy) return the same value.
the maximum available priority, or ThreadAttributes::BSLMT_UNSET_PRIORITY if it cannot be determined
| Name | Description |
|---|---|
| policy | scheduling policy whose maximum priority is requested |