attr
Thread attributes object whose inherit scheduling attribute is to
be modified.
inheritsched
New value for the inherit scheduling attribute. Valid values are
as follows:
PTHREAD_INHERIT_ The created thread inherits the
SCHED scheduling policy and associated
scheduling attributes of the thread
calling pthread_create(). Any scheduling
attributes in the attributes object
specified by the pthread_create() attr
argument are ignored during thread
creation. This is the default value.
PTHREAD_EXPLICIT_ The scheduling policy and associated
SCHED scheduling attributes of the created
thread are set to the corresponding
values from the attribute object
specified by the pthread_create() attr
argument.