pthread_attr_getsched(3-thr) pthread_attr_getsched(3-thr)
NAME
pthreadattrgetsched - obtains the value of the scheduling policy
attribute
SYNOPSIS
#include <pthread.h>
int pthreadattrgetsched(pthreadattrt attr);
PARAMETERS
attr Thread attributes object whose scheduling policy attribute
is obtained.
DESCRIPTION
The pthreadattrgetsched() routine obtains the scheduling policy of
threads created using the thread attributes object specified by the
attr parameter. The default value of the scheduling attribute is
SCHEDOTHER.
RETURN VALUES
On successful completion, this routine returns the value of the
scheduling policy attribute.
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), pthreadattrsetsched(3-thr),
pthreadcreate(3-thr).
Page 1 Reliant UNIX 5.44 Printed 11/98