Index Index for
Section 3
Index Alphabetical
listing for P
Bottom of page Bottom of
page

pthread_attr_getschedparam(3)

NAME

pthread_attr_getschedparam - Obtains the scheduling parameters for an attribute of the specified thread attributes object

SYNOPSIS

#include <pthread.h> int pthread_attr_getschedparam( const pthread_attr_t *attr, struct sched_param *param );

LIBRARY

DECthreads POSIX 1003.1c Library (libpthread.so)

STANDARDS

Interfaces documented on this reference page conform to industry standards as follows: IEEE Std 1003.1c-1995, POSIX System Application Program Interface

PARAMETERS

attr Thread attributes object of the scheduling policy attribute whose parameters are obtained. param Receives the values of scheduling parameters for the scheduling policy attribute of the attributes object specified by the attr argument. Refer to the description of the pthread_attr_setschedparam(3) routine for valid parameters and their values.

DESCRIPTION

This routine obtains the scheduling parameters associated with the scheduling policy attribute of the specified thread attributes object.

RETURN VALUES

If an error condition occurs, this routine returns an integer value indicating the type of error. Possible return values are as follows: 0 Successful completion. [EINVAL] The value specified by attr is invalid.

ERRORS

None

SEE ALSO

Functions: pthread_attr_init(3), pthread_attr_setschedparam(3), pthread_create(3) Manuals: Guide to DECthreads and Programmer's Guide

Index Index for
Section 3
Index Alphabetical
listing for P
Top of page Top of
page