xref: /freebsd/share/man/man3/pthread_yield.3 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
10029d642SMaxim Konovalov.\" $OpenBSD: pthread_yield.3,v 1.3 2004/01/25 14:48:32 jmc Exp $
20029d642SMaxim Konovalov.\"
30029d642SMaxim Konovalov.\" PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org>
40029d642SMaxim Konovalov.\"
50029d642SMaxim Konovalov.Dd September 18, 2006
60029d642SMaxim Konovalov.Dt PTHREAD_YIELD 3
70029d642SMaxim Konovalov.Os
80029d642SMaxim Konovalov.Sh NAME
90029d642SMaxim Konovalov.Nm pthread_yield
100029d642SMaxim Konovalov.Nd yield control of the current thread
110029d642SMaxim Konovalov.Sh LIBRARY
120029d642SMaxim Konovalov.Lb libpthread
130029d642SMaxim Konovalov.Sh SYNOPSIS
140029d642SMaxim Konovalov.In pthread.h
150029d642SMaxim Konovalov.Ft void
160029d642SMaxim Konovalov.Fn pthread_yield void
170029d642SMaxim Konovalov.Sh DESCRIPTION
180029d642SMaxim KonovalovThe
190029d642SMaxim Konovalov.Fn pthread_yield
200029d642SMaxim Konovalovforces the running thread to relinquish the processor until it again
210029d642SMaxim Konovalovbecomes the head of its thread list.
220029d642SMaxim Konovalov.Sh SEE ALSO
230029d642SMaxim Konovalov.Xr sched_yield 2
240029d642SMaxim Konovalov.Sh STANDARDS
250029d642SMaxim KonovalovThe
260029d642SMaxim Konovalov.Fn pthread_yield
270029d642SMaxim Konovalovis a non-portable (but quite common) extension to
280029d642SMaxim Konovalov.St -p1003.1-2001 .
29