xref: /freebsd/share/man/man3/pthread_yield.3 (revision 0029d6425f076e14a5090675ae8e616d5c0b0593)
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.\" $FreeBSD$
60029d642SMaxim Konovalov.\"
70029d642SMaxim Konovalov.Dd September 18, 2006
80029d642SMaxim Konovalov.Dt PTHREAD_YIELD 3
90029d642SMaxim Konovalov.Os
100029d642SMaxim Konovalov.Sh NAME
110029d642SMaxim Konovalov.Nm pthread_yield
120029d642SMaxim Konovalov.Nd yield control of the current thread
130029d642SMaxim Konovalov.Sh LIBRARY
140029d642SMaxim Konovalov.Lb libpthread
150029d642SMaxim Konovalov.Lb libthr
160029d642SMaxim Konovalov.Sh SYNOPSIS
170029d642SMaxim Konovalov.In pthread.h
180029d642SMaxim Konovalov.Ft void
190029d642SMaxim Konovalov.Fn pthread_yield void
200029d642SMaxim Konovalov.Sh DESCRIPTION
210029d642SMaxim KonovalovThe
220029d642SMaxim Konovalov.Fn pthread_yield
230029d642SMaxim Konovalovforces the running thread to relinquish the processor until it again
240029d642SMaxim Konovalovbecomes the head of its thread list.
250029d642SMaxim Konovalov.Sh SEE ALSO
260029d642SMaxim Konovalov.Xr sched_yield 2
270029d642SMaxim Konovalov.Sh STANDARDS
280029d642SMaxim KonovalovThe
290029d642SMaxim Konovalov.Fn pthread_yield
300029d642SMaxim Konovalovis a non-portable (but quite common) extension to
310029d642SMaxim Konovalov.St -p1003.1-2001 .
32