BloombergLP::bslmt::ThreadAttributes::setSchedulingPolicy

Set the schedulingPolicy attribute of this object to the specified value.

Synopsis

Declared in <bslmt_threadattributes.h>

ThreadAttributes&
setSchedulingPolicy(SchedulingPolicy value);

Description

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.

Return Value

a non-const reference to this object

Parameters

NameDescription
valuescheduling policy for created threads