[#BloombergLP-bslmt-ThreadAttributes-setSchedulingPolicy] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadAttributes.adoc[ThreadAttributes]::setSchedulingPolicy :relfileprefix: ../../../ :mrdocs: Set the value of the `schedulingPolicy` attribute of this object to the specified `value`. Return a non‐`const` reference to this object (see also {Fluent Interface}). This attribute is ignored unless `inheritSchedule` is `false`. See `bslmt_threadutil` for information about this attribute. == Synopsis Declared in `<bslmt_threadattributes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslmt/ThreadAttributes.adoc[ThreadAttributes]& setSchedulingPolicy(xref:BloombergLP/bslmt/ThreadAttributes/SchedulingPolicy-08.adoc[SchedulingPolicy] value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#