Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpthread Ups. pthread_barrierattr_destroy(3) may fail ...
details: https://anonhg.NetBSD.org/src/rev/22880888573b
branches: trunk
changeset: 756227:22880888573b
user: jruoho <jruoho%NetBSD.org@localhost>
date: Thu Jul 08 23:27:50 2010 +0000
description:
Ups. pthread_barrierattr_destroy(3) may fail with EINVAL.
diffstat:
lib/libpthread/pthread_barrierattr.3 | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 8b553a95e02b -r 22880888573b lib/libpthread/pthread_barrierattr.3
--- a/lib/libpthread/pthread_barrierattr.3 Thu Jul 08 23:27:17 2010 +0000
+++ b/lib/libpthread/pthread_barrierattr.3 Thu Jul 08 23:27:50 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_barrierattr.3,v 1.7 2010/07/08 23:23:37 jruoho Exp $
+.\" $NetBSD: pthread_barrierattr.3,v 1.8 2010/07/08 23:27:50 jruoho Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -58,7 +58,18 @@
If successful, these functions return 0.
Otherwise, an error number is returned to indicate the error.
.Sh ERRORS
-No error codes are defined for either function.
+No error codes are defined for
+.Fn pthread_barrierattr_init .
+.Pp
+The
+.Fn pthread_barrierattr_destroy
+may fail if:
+.Bl -tag -width Er
+.It Bq Er EINVAL
+The value specified by
+.Fa attr
+is invalid.
+.El
.Sh SEE ALSO
.Xr pthread_barrier_init 3
.Sh STANDARDS
Home |
Main Index |
Thread Index |
Old Index