summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread_barrier_wait.3
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2003-07-04 08:36:06 +0000
committerwiz <wiz@NetBSD.org>2003-07-04 08:36:06 +0000
commitba587118af62d6d2113f1eab45bfb00a0caae7c1 (patch)
tree92dad12b68c15fcb0aad70e6806555b9df43fad5 /lib/libpthread/pthread_barrier_wait.3
parent3c3799a827593f01541ce3ed6e56cd0a0f92e8fc (diff)
Drop trailing whitespace.
Diffstat (limited to 'lib/libpthread/pthread_barrier_wait.3')
-rw-r--r--lib/libpthread/pthread_barrier_wait.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/pthread_barrier_wait.3 b/lib/libpthread/pthread_barrier_wait.3
index db691fb06e6..e10a568e0fb 100644
--- a/lib/libpthread/pthread_barrier_wait.3
+++ b/lib/libpthread/pthread_barrier_wait.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_barrier_wait.3,v 1.2 2003/06/08 06:44:28 thorpej Exp $
+.\" $NetBSD: pthread_barrier_wait.3,v 1.3 2003/07/04 08:36:06 wiz Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -41,7 +41,7 @@
The
.Fn pthread_barrier_wait
function causes the current thread to wait on the barrier specified.
-Once as many threads as specified by the
+Once as many threads as specified by the
.Fa count
parameter to the corresponding
.Fn pthread_barrier_init
@@ -54,7 +54,7 @@ calls and continue execution.
If successful,
.Fn pthread_barrier_wait
will return zero for all waiting threads except for one. One thread will
-receive status
+receive status
.Dv PTHREAD_BARRIER_SERIAL_THREAD ,
which is intended to indicate that this thead may be used to update
shared data. It is the responsibilty of this thread to insure the visibility and atomicity of any updates to shared data with respect to the other threads participating in the barrier.