mirror of https://github.com/mkerrisk/man-pages
pthread_yield.3: ATTRIBUTES: Note function that is thread-safe
The function pthread_yield() is thread safe. Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9ebe66fab3
commit
aaa53a891d
|
@ -22,7 +22,7 @@
|
|||
.\" the source, must acknowledge the copyright and authors of this work.
|
||||
.\" %%%LICENSE_END
|
||||
.\"
|
||||
.TH PTHREAD_YIELD 3 2013-03-05 "Linux" "Linux Programmer's Manual"
|
||||
.TH PTHREAD_YIELD 3 2014-05-13 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
pthread_yield \- yield the processor
|
||||
.SH SYNOPSIS
|
||||
|
@ -50,6 +50,11 @@ 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 ATTRIBUTES
|
||||
.SS Multithreading (see pthreads(7))
|
||||
The
|
||||
.BR pthread_yield ()
|
||||
function is thread-safe.
|
||||
.SH CONFORMING TO
|
||||
This call is nonstandard, but present on several other systems.
|
||||
Use the standardized
|
||||
|
|
Loading…
Reference in New Issue