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

Name

Description

value

scheduling policy for created threads

Created with MrDocs