BloombergLP::bslmt::ThreadUtil::getMaxSchedulingPriority

Return the maximum available priority for the specified policy, where policy is of type ThreadAttributes::SchedulingPolicy. Return ThreadAttributes::e_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.

Synopsis

Declared in <bslmt_threadutil.h>

static
int
getMaxSchedulingPriority(ThreadAttributes::SchedulingPolicy policy);