diff --git a/man2/sched_yield.2 b/man2/sched_yield.2 index 739a4abab..f3dcff8cc 100644 --- a/man2/sched_yield.2 +++ b/man2/sched_yield.2 @@ -76,5 +76,16 @@ unnecessarily or inappropriately schedulable threads are still held by the caller), since doing so will result in unnecessary context switches, which will degrade system performance. +.PP +.BR sched_yield () +is intended for use with read-time scheduling policies (i.e., +.BR SCHED_FIFO +or +.BR SCHED_RR ). +Use of +.BR sched_yield () +with nondeterministic scheduling policies such as +.BR SCHED_OTHER +is unspecified and very likely means your application design is broken. .SH SEE ALSO .BR sched (7)