pthread_attr_setstack.3: ATTRIBUTES: Note functions that are thread-safe

The functions pthread_attr_setstack() and pthread_attr_getstack()
are 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:
Peng Haitao 2014-04-21 17:17:52 +08:00 committed by Michael Kerrisk
parent 180a948b37
commit 88b11b50cb
1 changed files with 8 additions and 1 deletions

View File

@ -23,7 +23,7 @@
.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
.TH PTHREAD_ATTR_SETSTACK 3 2008-10-24 "Linux" "Linux Programmer's Manual"
.TH PTHREAD_ATTR_SETSTACK 3 2014-04-21 "Linux" "Linux Programmer's Manual"
.SH NAME
pthread_attr_setstack, pthread_attr_getstack \- set/get stack
attributes in thread attributes object
@ -109,6 +109,13 @@ and
is not both readable and writable by the caller.
.SH VERSIONS
These functions are provided by glibc since version 2.2.
.SH ATTRIBUTES
.SS Multithreading (see pthreads(7))
The
.BR pthread_attr_setstack ()
and
.BR pthread_attr_getstack ()
functions are thread-safe.
.SH CONFORMING TO
POSIX.1-2001.
.SH NOTES