Multithreaded Programming Guide

Return Values

sched_yield() returns zero after completing successfully. Otherwise -1 is returned and errno is set to indicate the error condition.


ENOSYS

sched_yield(3RT) is not supported in this implementation.