Update contrib.
1 /** @file ../include/posix4/sched.h
13 /** @struct sched_param
15 Contains following members,
21 /** @var sched_param::sched_priority
22 process execution scheduling priority
25 /** @fn sched_yield( void )
26 @return The sched_yield() function returns 0 if it completes successfully, or it returns a value of -1 and sets errno to indicate the error.
29 The sched_yield() function forces the running thread to relinquish the processor until it again becomes the head of its thread list. It takes no arguments.
36 /** @fn sched_get_priority_max(int policy)
38 @return If successful, the sched_get_priority_max() functions return the appropriate maximum values, respectively. If unsuccessful, they return a value of -1 and set errno to indicate the error.
40 The value of policy is one of the scheduling policy values defined in <sched.h>.
46 /** @fn sched_get_priority_min(int policy)
48 @return If successful, the sched_get_priority_min() functions return the appropriate minimum values, respectively. If unsuccessful, they return a value of -1 and set errno to indicate the error.
50 The value of policy is one of the scheduling policy values defined in <sched.h>.