From d53ad479cc1bf7e693e174e866840dc79585b633 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 8 Oct 2014 11:52:45 +0200 Subject: [PATCH] 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 --- man7/signal.7 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man7/signal.7 b/man7/signal.7 index e029de546..47b75b45e 100644 --- a/man7/signal.7 +++ b/man7/signal.7 @@ -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