Set the inheritSchedule attribute of this object to the specified value.
Synopsis
Declared in <bslmt_threadattributes.h>
ThreadAttributes&
setInheritSchedule(bool value);
Description
Return a non‐`const` reference to this object (see also {Fluent Interface}). A value of false for the inherit schedule attribute indicates that a thread should not inherit the scheduling policy and priority of the thread that created it and instead should use the respective values supplied by this object; whereas a value of true indicates that the thread should inherit these attributes and ignore the respective values in this object. See bslmt_threadutil for information about support for this attribute.
Return Value
a non‐`const` reference to this object
Parameters
Name |
Description |
value |
whether created threads inherit schedule attributes |
Created with MrDocs