mirror of https://github.com/mkerrisk/man-pages
pthread_yield.3: Note that this function is deprecated since glibc 2.34
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9c463934b9
commit
707da0b585
|
@ -35,6 +35,9 @@ pthread_yield \- yield the processor
|
|||
.PP
|
||||
Compile and link with \fI\-pthread\fP.
|
||||
.SH DESCRIPTION
|
||||
.BR Note :
|
||||
This function is deprecated; see below.
|
||||
.PP
|
||||
.BR pthread_yield ()
|
||||
causes the calling thread to relinquish the CPU.
|
||||
The thread is placed at the end of the run queue for its static
|
||||
|
@ -50,6 +53,8 @@ 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).
|
||||
.SH VERSIONS
|
||||
Since glibc 2.34, this function is marked as deprecated.
|
||||
.SH ATTRIBUTES
|
||||
For an explanation of the terms used in this section, see
|
||||
.BR attributes (7).
|
||||
|
|
Loading…
Reference in New Issue