pthread_mutex_consistent.3: Mention pthread_mutex_consistent_np()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-09-12 15:12:28 +02:00
parent 5214dd2066
commit 99fa587d0d
1 changed files with 14 additions and 0 deletions

View File

@ -67,6 +67,20 @@ The mutex is either not robust or it is not in a inconsistent state.
was added to glibc in version 2.12.
.SH CONFORMING TO
POSIX.1-2008.
.SH NOTES
Before the addition of
.BR pthread_mutex_consistent ()
to POSIX,
glibc defined the following equivalent nonstandard function if
.BR _GNU_SOURCE
was defined:
.PP
.nf
.BI "int pthread_mutex_consistent(const pthread_mutex_t *" mutex );
.fi
.PP
This GNU-specific API, which first appeared in glibc 2.4,
is nowadays obsolete and should not be used in new programs.
.SH SEE ALSO
.ad l
.nh