pthread_yield.3 (0029d6425f076e14a5090675ae8e616d5c0b0593) pthread_yield.3 (3e9ed1efb85a632c2b4bee70f3ae37a464aba6ad)
1.\" $OpenBSD: pthread_yield.3,v 1.3 2004/01/25 14:48:32 jmc Exp $
2.\"
3.\" PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org>
4.\"
5.\" $FreeBSD$
6.\"
7.Dd September 18, 2006
8.Dt PTHREAD_YIELD 3
9.Os
10.Sh NAME
11.Nm pthread_yield
12.Nd yield control of the current thread
13.Sh LIBRARY
14.Lb libpthread
1.\" $OpenBSD: pthread_yield.3,v 1.3 2004/01/25 14:48:32 jmc Exp $
2.\"
3.\" PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org>
4.\"
5.\" $FreeBSD$
6.\"
7.Dd September 18, 2006
8.Dt PTHREAD_YIELD 3
9.Os
10.Sh NAME
11.Nm pthread_yield
12.Nd yield control of the current thread
13.Sh LIBRARY
14.Lb libpthread
15.Lb libthr
16.Sh SYNOPSIS
17.In pthread.h
18.Ft void
19.Fn pthread_yield void
20.Sh DESCRIPTION
21The
22.Fn pthread_yield
23forces the running thread to relinquish the processor until it again
24becomes the head of its thread list.
25.Sh SEE ALSO
26.Xr sched_yield 2
27.Sh STANDARDS
28The
29.Fn pthread_yield
30is a non-portable (but quite common) extension to
31.St -p1003.1-2001 .
15.Sh SYNOPSIS
16.In pthread.h
17.Ft void
18.Fn pthread_yield void
19.Sh DESCRIPTION
20The
21.Fn pthread_yield
22forces the running thread to relinquish the processor until it again
23becomes the head of its thread list.
24.Sh SEE ALSO
25.Xr sched_yield 2
26.Sh STANDARDS
27The
28.Fn pthread_yield
29is a non-portable (but quite common) extension to
30.St -p1003.1-2001 .