]> git.saurik.com Git - apple/libc.git/blobdiff - pthreads/pthread_cond_timedwait.3
Libc-498.1.1.tar.gz
[apple/libc.git] / pthreads / pthread_cond_timedwait.3
index 3ff427d9b31d74a74d00f5d68c1d0272082d746a..052599b8823983d7641c4d25d4726429986283b9 100644 (file)
 .Sh SYNOPSIS
 .Fd #include <pthread.h>
 .Ft int
-.Fn pthread_cond_timedwait "pthread_cond_t *cond" "pthread_mutex_t *mutex" "const struct timespec *abstime"
+.Fo pthread_cond_timedwait
+.Fa "pthread_cond_t *restrict cond"
+.Fa "pthread_mutex_t *restrict mutex"
+.Fa "const struct timespec *restrict abstime"
+.Fc
 .Sh DESCRIPTION
 The
 .Fn pthread_cond_timedwait
 function atomically blocks the current thread waiting on the condition
 variable specified by
-.Fa cond ,
+.Fa cond
 and unblocks the mutex specified by
 .Fa mutex .
 The waiting thread unblocks only after another thread calls
@@ -58,7 +62,7 @@ and the current thread reacquires the lock on
 If successful, the
 .Fn pthread_cond_timedwait
 function will return zero.
-Otherwise an error number will be returned to
+Otherwise, an error number will be returned to
 indicate the error.
 .Sh ERRORS
 .Fn pthread_cond_timedwait