[#BloombergLP-bslmt-ThreadUtil-convertToSchedulingPriority] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtil.adoc[ThreadUtil]::convertToSchedulingPriority :relfileprefix: ../../../ :mrdocs: Return an integer scheduling priority appropriate for the specified `normalizedSchedulingPriority` and the specified `policy`. If either the minimum or maximum priority for this platform cannot be determined, return `ThreadAttributes::e_UNSET_PRIORITY`. Higher values of `normalizedSchedulingPriority` are considered to represent more urgent priorities. The behavior is undefined unless `policy` is a valid `ThreadAttributes::SchedulingPolicy` and `normalizedSchedulingPriority` is in the range `[ 0.0, 1.0 ]`. == Synopsis Declared in `<bslmt_threadutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int convertToSchedulingPriority( xref:BloombergLP/bslmt/ThreadAttributes/SchedulingPolicy-08.adoc[ThreadAttributes::SchedulingPolicy] policy, double normalizedSchedulingPriority); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#