eventfd.2: ATTRIBUTES: Note function that is thread-safe

After research, We think eventfd() is thread-safe. But, there
is not marking of eventfd() in glibc document.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Zeng Linggang 2015-05-20 18:00:03 +08:00 committed by Michael Kerrisk
parent 546e17cef9
commit 288c1a09dd
1 changed files with 13 additions and 0 deletions

View File

@ -263,6 +263,19 @@ Since version 2.9, the glibc
wrapper will employ the
.BR eventfd2 ()
system call, if it is supported by the kernel.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
allbox;
lb lb lb
l l l.
Interface Attribute Value
T{
.BR eventfd ()
T} Thread safety MT-Safe
.TE
.SH CONFORMING TO
.BR eventfd ()
and