mirror of https://github.com/mkerrisk/man-pages
signal.7: pthread_mutex_lock() and pthread_cond_wait() are restartable
pthread_mutex_lock(, pthread_cond_wait(), and related APIs are automatically restarted if interrupted by a signal handler. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e890609356
commit
d53ad479cc
|
@ -698,6 +698,10 @@ and
|
||||||
(since Linux 2.6.22; beforehand, always failed with
|
(since Linux 2.6.22; beforehand, always failed with
|
||||||
.BR EINTR ).
|
.BR EINTR ).
|
||||||
.IP *
|
.IP *
|
||||||
|
.BR pthread_mutex_lock (3),
|
||||||
|
.BR pthread_cond_wait (3),
|
||||||
|
and related APIs.
|
||||||
|
.IP *
|
||||||
POSIX semaphore interfaces:
|
POSIX semaphore interfaces:
|
||||||
.BR sem_wait (3)
|
.BR sem_wait (3)
|
||||||
and
|
and
|
||||||
|
|
Loading…
Reference in New Issue