[PATCH] pthread_yield.3: ATTRIBUTES: Note function that is thread-safe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The function pthread_yield() is thread safe.

Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx>
---
 man3/pthread_yield.3 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/man3/pthread_yield.3 b/man3/pthread_yield.3
index 894206b..ef8f171 100644
--- a/man3/pthread_yield.3
+++ b/man3/pthread_yield.3
@@ -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
-- 
1.9.0

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux