f_pthread_attr_getschedpolicy(attr, policy)

Purpose

This function can be used to query the scheduling policy attribute setting in the attribute object attr. The current setting of the scheduling policy will be returned in the argument policy.

Class

Function

Argument Type and Attributes

attr
TYPE(f_pthread_attr_t), INTENT(IN)

policy
INTEGER(4), INTENT(OUT)

Result Type and Attributes

INTEGER(4)

Result Value

On successful completion, this function returns 0. Otherwise, this function returns the following error.

EINVAL
The argument attr is invalid.
IBM Copyright 2003