Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpthread Update ERRORS, tidy SEE ALSO.
details: https://anonhg.NetBSD.org/src/rev/1abcfc9f2b17
branches: trunk
changeset: 756259:1abcfc9f2b17
user: jruoho <jruoho%NetBSD.org@localhost>
date: Fri Jul 09 18:07:20 2010 +0000
description:
Update ERRORS, tidy SEE ALSO.
diffstat:
lib/libpthread/pthread_barrier.3 | 24 +++++++++---------------
1 files changed, 9 insertions(+), 15 deletions(-)
diffs (67 lines):
diff -r 78ce080b2f4b -r 1abcfc9f2b17 lib/libpthread/pthread_barrier.3
--- a/lib/libpthread/pthread_barrier.3 Fri Jul 09 18:01:53 2010 +0000
+++ b/lib/libpthread/pthread_barrier.3 Fri Jul 09 18:07:20 2010 +0000
@@ -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 .
Home |
Main Index |
Thread Index |
Old Index