Module Name: src
Committed By: jruoho
Date: Fri Jul 9 18:07:21 UTC 2010
Modified Files:
src/lib/libpthread: pthread_barrier.3
Log Message:
Update ERRORS, tidy SEE ALSO.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libpthread/pthread_barrier.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libpthread/pthread_barrier.3
diff -u src/lib/libpthread/pthread_barrier.3:1.3 src/lib/libpthread/pthread_barrier.3:1.4
--- src/lib/libpthread/pthread_barrier.3:1.3 Thu Jul 8 21:33:38 2010
+++ src/lib/libpthread/pthread_barrier.3 Fri Jul 9 18:07:20 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_barrier.3,v 1.3 2010/07/08 21:33:38 wiz Exp $
+.\" $NetBSD: pthread_barrier.3,v 1.4 2010/07/09 18:07:20 jruoho Exp $
.\"
.\" Copyright (c) 2002, 2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -115,26 +115,22 @@
In the case of failure, an error value will be returned.
.\" ----------------------------------------------------------------------------
.Sh ERRORS
+The
.Fn pthread_barrier_init
-may fail if:
+function may fail if:
.Bl -tag -width Er
-.It Bq Er EAGAIN
-The system lacks the resources to initialize another barrier.
-.It Bq Er EBUSY
-The barrier structure has been initialized already.
.It Bq Er EINVAL
The value specified by
.Fa count
is zero or
.Fa attr
is invalid.
-.It Bq Er ENOMEM
-Insufficient memory exists to initialize the barrier.
.El
.Pp
.\" -----
+The
.Fn pthread_barrier_destroy
-may fail if:
+function may fail if:
.Bl -tag -width Er
.It Bq Er EBUSY
The
@@ -147,22 +143,20 @@
.El
.Pp
.\" -----
+The
.Fn pthread_barrier_wait
-may fail if:
+function may fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
The value specified by
.Fa barrier
is invalid.
.El
-.\" ----------------------------------------------------------------------------
+.\" ---------------------------------------------------------------------------
.Sh SEE ALSO
-.Xr pthread 3 ,
.Xr pthread_barrierattr 3 ,
.Xr pthread_cond 3 ,
-.Xr pthread_mutex 3 ,
-.Xr pthread_rwlock 3 ,
-.Xr pthread_spin 3
+.Xr pthread_mutex 3
.Sh STANDARDS
These functions conform to
.St -p1003.1-2001 .