pthread_attr_getinheritsched(3-thr) pthread_attr_getinheritsched(3-thr)
NAME
pthreadattrgetinheritsched - obtains the inherit scheduling attri-
bute
SYNOPSIS
#include <pthread.h>
int pthreadattrgetinheritsched(pthreadattrt attr);
PARAMETERS
attr Thread attributes object whose inherit scheduling attribute
is obtained.
DESCRIPTION
The pthreadattrgetinheritsched() routine obtains the value of the
inherit scheduling attribute in the specified thread attributes
object. The inherit scheduling attribute specifies whether threads
created using the attributes object inherit the scheduling attributes
of the creating thread, or use the scheduling attributes stored in the
attributes object that is passed to pthreadcreate().
The default value of the inherit scheduling attribute is
PTHREADINHERITSCHED.
RETURN VALUES
On successful completion, this routine returns the inherit scheduling
attribute value.
If the function fails, errno may be set to one of the following
values:
EINVAL The value specified by attr is invalid.
SEE ALSO
pthreadattrcreate(3-thr), pthreadattrsetinheritsched(3-thr),
pthreadcreate(3-thr).
Page 1 Reliant UNIX 5.44 Printed 11/98