The pthread_attr_setinheritsched function

Name

pthread_attr_setinheritsched -- 

Synopsis

#include <pthread.h>

int pthread_attr_setinheritsched (pthread_attr_t *attr, int inherit);

Description

The pthread_attr_setinheritsched function sets the inheritsched attribute in the referenced attr object.

Returns

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

Implementation Notes

None