mirror of https://github.com/mkerrisk/man-pages
pthread_mutex_consistent.3: Mention pthread_mutex_consistent_np()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5214dd2066
commit
99fa587d0d
|
@ -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.
|
was added to glibc in version 2.12.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
POSIX.1-2008.
|
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
|
.SH SEE ALSO
|
||||||
.ad l
|
.ad l
|
||||||
.nh
|
.nh
|
||||||
|
|
Loading…
Reference in New Issue