summaryrefslogtreecommitdiffstats
path: root/share/man/man3/pthread.3
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man3/pthread.3')
-rw-r--r--share/man/man3/pthread.35
1 files changed, 5 insertions, 0 deletions
diff --git a/share/man/man3/pthread.3 b/share/man/man3/pthread.3
index 7a8abcf..4592983 100644
--- a/share/man/man3/pthread.3
+++ b/share/man/man3/pthread.3
@@ -274,6 +274,11 @@ Initialize a mutex with specified attributes.
Lock a mutex and block until it becomes available.
.It Xo
.Ft int
+.Fn pthread_mutex_timedlock "pthread_mutex_t *mutex" "const struct timespec *abstime"
+.Xc
+Lock a mutex and block until it becomes available or until the timeout expires.
+.It Xo
+.Ft int
.Fn pthread_mutex_trylock "pthread_mutex_t *mutex"
.Xc
Try to lock a mutex, but don't block if the mutex is locked by another thread,
OpenPOWER on IntegriCloud