[#BloombergLP-bslmt-ThreadUtil-getMaxSchedulingPriority] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtil.adoc[ThreadUtil]::getMaxSchedulingPriority :relfileprefix: ../../../ :mrdocs: Return the maximum available scheduling priority for the policy. == Synopsis Declared in `<bslmt_threadutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int getMaxSchedulingPriority(xref:BloombergLP/bslmt/ThreadAttributes/SchedulingPolicy-08.adoc[ThreadAttributes::SchedulingPolicy] policy); ---- == Description 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. == Return Value maximum available priority, or `e_UNSET_PRIORITY` if undetermined == Parameters [cols="1,4"] |=== | Name| Description | *policy* | scheduling policy whose maximum priority is requested |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#