Interpretations are issued to explain and clarify the intent of a standard and do not constitute an alteration to the original standard. In addition, interpretations are not intended to supply consulting information. Permission is hereby granted to download and print one copy of this document. Individuals seeking permission to reproduce and/or distribute this document in its entirety or portions of this document must contact the IEEE Standards Department for the appropriate license. Use of the information contained in this document is at your own risk.

The pthread_attr_getschedparam() and pthread_attr_getschedparam() interfaces are part of the threads option. However, they take as an argument a pointer to a sched_param structure. This structure is declared in sched.h, which is dependent on the process scheduling option.

Below, [x› and ‹x] represent the opt-start and opt-end symbols.

The thread option needs to require the presence of sched.h:
Change the specification of sched.h from

Perhaps better, pthread_attr_getschedparam() and pthread_attr_setschedparam() should be part of an option that requires both threads and process scheduling, such as thread execution scheduling (of which pthread_setschedparam() and pthread_getschedparam() are part).

Change the specifications of pthread_attr_get/setschedparam from
NAME
pthread_attr_getschedparam, pthread_attr_setschedparam - get and set the schedparam attribute