English pages are provided only to compare translations to original pages,
better looking pages can be browsed
at the Linux man-pages official site.
Linux Programmer's Manual (3)
pthread_yield - yield the processor
#define _GNU_SOURCE /* See feature_test_macros(7) */
Compile and link with -pthread.
causes the calling thread to relinquish the CPU.
The thread is placed at the end of the run queue for its static
priority and another thread is scheduled to run.
For further details, see
on error, it returns an error number.
On Linux, this call always succeeds
(but portable and future-proof applications should nevertheless
handle a possible error return).
This call is nonstandard, but present on several other systems.
Use the standardized
On Linux, this function is implemented as a call to
This page is part of release 3.66 of the Linux
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at
- RETURN VALUE
- CONFORMING TO
- SEE ALSO
This document was created by
using the manual pages.
Time: 21:43:02 GMT, July 12, 2014