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:
Michael Kerrisk 2014-10-08 11:52:45 +02:00
parent e890609356
commit d53ad479cc
1 changed files with 4 additions and 0 deletions

View File

@ -698,6 +698,10 @@ and
(since Linux 2.6.22; beforehand, always failed with
.BR EINTR ).
.IP *
.BR pthread_mutex_lock (3),
.BR pthread_cond_wait (3),
and related APIs.
.IP *
POSIX semaphore interfaces:
.BR sem_wait (3)
and