The pthread_attr_getschedparam function

Name

pthread_attr_getschedparam -- 

Synopsis

#include <pthread.h>

int pthread_attr_getschedparam (pthread_attr_t *attr, struct sched_param *param);

Description

The pthread_attr_getschedparam function gets the value of the scheduling parameter attribute.

Returns

The pthread_attr_getschedparam function returns zero if successful and -1 otherwise.

Implementation Notes

The scheduling parameter attribute consists of the thread priority.