The pthread_attr_setschedparam function

Name

pthread_attr_setschedparam -- 

Synopsis

#include <pthread.h>

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

Description

The pthread_attr_setschedparam function sets the priority in the referenced attr object.

Returns

The pthread_attr_setschedparam function returns zero if the call is successful, otherwise it sets errno to EINVAL and returns -1.

Implementation Notes

None