Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpthread Update conformance to the 2001 revision.



details:   https://anonhg.NetBSD.org/src/rev/c8679891bf0e
branches:  trunk
changeset: 756238:c8679891bf0e
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Fri Jul 09 08:51:28 2010 +0000

description:
Update conformance to the 2001 revision.

diffstat:

 lib/libpthread/pthread_attr.3                |   6 +++---
 lib/libpthread/pthread_attr_getdetachstate.3 |   6 +++---
 lib/libpthread/pthread_attr_getstack.3       |  25 ++++++++-----------------
 lib/libpthread/pthread_cancel.3              |   9 ++++-----
 lib/libpthread/pthread_cleanup_push.3        |  11 ++++-------
 lib/libpthread/pthread_condattr.3            |  11 ++++-------
 lib/libpthread/pthread_create.3              |   9 ++++-----
 lib/libpthread/pthread_detach.3              |   9 ++++-----
 lib/libpthread/pthread_equal.3               |   9 ++++-----
 lib/libpthread/pthread_exit.3                |   9 ++++-----
 lib/libpthread/pthread_join.3                |   9 ++++-----
 lib/libpthread/pthread_kill.3                |   9 ++++-----
 lib/libpthread/pthread_once.3                |   9 ++++-----
 lib/libpthread/pthread_rwlockattr.3          |  12 ++++--------
 lib/libpthread/pthread_schedparam.3          |  11 ++++-------
 lib/libpthread/pthread_self.3                |  18 +++++++++---------
 lib/libpthread/pthread_sigmask.3             |   9 ++++-----
 lib/libpthread/pthread_suspend_np.3          |   6 ++++--
 lib/libpthread/pthread_testcancel.3          |   9 ++++-----
 19 files changed, 83 insertions(+), 113 deletions(-)

diffs (truncated from 557 to 300 lines):

diff -r 7dd87bec5f88 -r c8679891bf0e lib/libpthread/pthread_attr.3
--- a/lib/libpthread/pthread_attr.3     Fri Jul 09 08:32:39 2010 +0000
+++ b/lib/libpthread/pthread_attr.3     Fri Jul 09 08:51:28 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pthread_attr.3,v 1.20 2010/07/08 18:30:00 wiz Exp $
+.\"    $NetBSD: pthread_attr.3,v 1.21 2010/07/09 08:51:28 jruoho Exp $
 .\"
 .\" Copyright (c) 2002, 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -53,7 +53,7 @@
 .\"
 .\" $FreeBSD: src/lib/libpthread/man/pthread_attr.3,v 1.11 2002/09/16 19:29:28 mini Exp $
 .\"
-.Dd July 8, 2010
+.Dd July 9, 2010
 .Dt PTHREAD_ATTR 3
 .Os
 .Sh NAME
@@ -152,4 +152,4 @@
 and
 .Fn pthread_attr_destroy
 conform to
-.St -p1003.1-96 .
+.St -p1003.1-2001 .
diff -r 7dd87bec5f88 -r c8679891bf0e lib/libpthread/pthread_attr_getdetachstate.3
--- a/lib/libpthread/pthread_attr_getdetachstate.3      Fri Jul 09 08:32:39 2010 +0000
+++ b/lib/libpthread/pthread_attr_getdetachstate.3      Fri Jul 09 08:51:28 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pthread_attr_getdetachstate.3,v 1.1 2010/07/07 08:57:36 jruoho Exp $
+.\"    $NetBSD: pthread_attr_getdetachstate.3,v 1.2 2010/07/09 08:51:28 jruoho Exp $
 .\"
 .\" Copyright (c) 2002, 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -53,7 +53,7 @@
 .\"
 .\" $FreeBSD: src/lib/libpthread/man/pthread_attr.3,v 1.11 2002/09/16 19:29:28 mini Exp $
 .\"
-.Dd July 7, 2010
+.Dd July 9, 2010
 .Dt PTHREAD_ATTR_GETDETACHSTATE 3
 .Os
 .Sh NAME
@@ -116,4 +116,4 @@
 .Xr pthread_join 3
 .Sh STANDARDS
 Both functions conform to
-.St -p1003.1-96 .
+.St -p1003.1-2001 .
diff -r 7dd87bec5f88 -r c8679891bf0e lib/libpthread/pthread_attr_getstack.3
--- a/lib/libpthread/pthread_attr_getstack.3    Fri Jul 09 08:32:39 2010 +0000
+++ b/lib/libpthread/pthread_attr_getstack.3    Fri Jul 09 08:51:28 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pthread_attr_getstack.3,v 1.2 2010/07/07 12:49:15 jruoho Exp $
+.\"    $NetBSD: pthread_attr_getstack.3,v 1.3 2010/07/09 08:51:28 jruoho Exp $
 .\"
 .\" Copyright (c) 2010 Jukka Ruohonen <jruohonen%iki.fi@localhost>
 .\" All rights reserved.
@@ -25,7 +25,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 7, 2010
+.Dd July 9, 2010
 .Dt PTHREAD_ATTR_GETSTACK 3
 .Os
 .Sh NAME
@@ -161,21 +161,12 @@
 .Xr pthread_attr 3 ,
 .Xr pthread_attr_setguardsize 3
 .Sh STANDARDS
-The
-.Fn pthread_attr_getstack
-and
-.Fn pthread_attr_setstack
-functions as well as
-.Fn pthread_attr_getstacksize
-and
-.Fn pthread_attr_setstacksize
-conform to
-.St -p1003.1-2008 .
-The
+All described functions conform to
+.St -p1003.1-2001 .
+Note that
 .Fn pthread_attr_getstackaddr
 and
 .Fn pthread_attr_setstackaddr
-conform to
-.St -p1003.1-2004 ,
-where these were marked as obsolescent.
-The 2008 revision removed these two functions from the specification.
+were however removed from the specification in the
+.St -p1003.1-2008
+revision.
diff -r 7dd87bec5f88 -r c8679891bf0e lib/libpthread/pthread_cancel.3
--- a/lib/libpthread/pthread_cancel.3   Fri Jul 09 08:32:39 2010 +0000
+++ b/lib/libpthread/pthread_cancel.3   Fri Jul 09 08:51:28 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_cancel.3,v 1.3 2008/04/30 13:10:52 martin Exp $
+.\" $NetBSD: pthread_cancel.3,v 1.4 2010/07/09 08:51:28 jruoho Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -23,7 +23,7 @@
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\" $FreeBSD: src/lib/libpthread/man/pthread_cancel.3,v 1.7 2002/09/16 19:29:28 mini Exp $
-.Dd January 30, 2003
+.Dd July 9, 2010
 .Dt PTHREAD_CANCEL 3
 .Os
 .Sh NAME
@@ -91,9 +91,8 @@
 .Xr pthread_setcanceltype 3 ,
 .Xr pthread_testcancel 3
 .Sh STANDARDS
-.Fn pthread_cancel
-conforms to
-.St -p1003.1-96 .
+The function conforms to
+.St -p1003.1-2001 .
 .Sh AUTHORS
 This man page was written by
 .An David Leonard Aq d%openbsd.org@localhost
diff -r 7dd87bec5f88 -r c8679891bf0e lib/libpthread/pthread_cleanup_push.3
--- a/lib/libpthread/pthread_cleanup_push.3     Fri Jul 09 08:32:39 2010 +0000
+++ b/lib/libpthread/pthread_cleanup_push.3     Fri Jul 09 08:51:28 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_cleanup_push.3,v 1.5 2008/05/04 19:43:05 martin Exp $
+.\" $NetBSD: pthread_cleanup_push.3,v 1.6 2010/07/09 08:51:28 jruoho Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -51,7 +51,7 @@
 .\"
 .\" $FreeBSD: src/lib/libpthread/man/pthread_cleanup_push.3,v 1.11 2002/09/16 19:29:28 mini Exp $
 .\"
-.Dd January 30, 2003
+.Dd July 9, 2010
 .Dt PTHREAD_CLEANUP 3
 .Os
 .Sh NAME
@@ -114,8 +114,5 @@
 .Sh SEE ALSO
 .Xr pthread_exit 3
 .Sh STANDARDS
-.Fn pthread_cleanup_push
-and
-.Fn pthread_cleanup_pop
-conform to
-.St -p1003.1-96 .
+Both functions conform to
+.St -p1003.1-2001 .
diff -r 7dd87bec5f88 -r c8679891bf0e lib/libpthread/pthread_condattr.3
--- a/lib/libpthread/pthread_condattr.3 Fri Jul 09 08:32:39 2010 +0000
+++ b/lib/libpthread/pthread_condattr.3 Fri Jul 09 08:51:28 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_condattr.3,v 1.4 2008/05/04 19:43:05 martin Exp $
+.\" $NetBSD: pthread_condattr.3,v 1.5 2010/07/09 08:51:28 jruoho Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -50,7 +50,7 @@
 .\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\" $FreeBSD: src/lib/libpthread/man/pthread_condattr.3,v 1.10 2002/09/16 19:29:28 mini Exp $
-.Dd January 30, 2003
+.Dd July 9, 2010
 .Dt PTHREAD_CONDATTR 3
 .Os
 .Sh NAME
@@ -97,8 +97,5 @@
 .Sh SEE ALSO
 .Xr pthread_cond_init 3
 .Sh STANDARDS
-.Fn pthread_condattr_init
-and
-.Fn pthread_condattr_destroy
-conform to
-.St -p1003.1-96 .
+Both functions conform to
+.St -p1003.1-2001 .
diff -r 7dd87bec5f88 -r c8679891bf0e lib/libpthread/pthread_create.3
--- a/lib/libpthread/pthread_create.3   Fri Jul 09 08:32:39 2010 +0000
+++ b/lib/libpthread/pthread_create.3   Fri Jul 09 08:51:28 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_create.3,v 1.6 2010/06/07 04:36:34 dholland Exp $
+.\" $NetBSD: pthread_create.3,v 1.7 2010/07/09 08:51:28 jruoho Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -54,7 +54,7 @@
 .\"
 .\" $FreeBSD: src/lib/libpthread/man/pthread_create.3,v 1.16 2002/09/16 19:29:28 mini Exp $
 .\"
-.Dd June 6, 2010
+.Dd July 9, 2010
 .Dt PTHREAD_CREATE 3
 .Os
 .Sh NAME
@@ -153,6 +153,5 @@
 .Xr pthread_exit 3 ,
 .Xr pthread_join 3
 .Sh STANDARDS
-.Fn pthread_create
-conforms to
-.St -p1003.1-96 .
+The function conforms to
+.St -p1003.1-2001 .
diff -r 7dd87bec5f88 -r c8679891bf0e lib/libpthread/pthread_detach.3
--- a/lib/libpthread/pthread_detach.3   Fri Jul 09 08:32:39 2010 +0000
+++ b/lib/libpthread/pthread_detach.3   Fri Jul 09 08:51:28 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_detach.3,v 1.3 2008/05/02 18:11:04 martin Exp $
+.\" $NetBSD: pthread_detach.3,v 1.4 2010/07/09 08:51:28 jruoho Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -55,7 +55,7 @@
 .\"
 .\" $FreeBSD: src/lib/libpthread/man/pthread_detach.3,v 1.13 2002/09/16 19:29:28 mini Exp $
 .\"
-.Dd January 30, 2003
+.Dd July 9, 2010
 .Dt PTHREAD_DETACH 3
 .Os
 .Sh NAME
@@ -104,6 +104,5 @@
 .Sh SEE ALSO
 .Xr pthread_join 3
 .Sh STANDARDS
-.Fn pthread_detach
-conforms to
-.St -p1003.1-96 .
+The function conforms to
+.St -p1003.1-2001 .
diff -r 7dd87bec5f88 -r c8679891bf0e lib/libpthread/pthread_equal.3
--- a/lib/libpthread/pthread_equal.3    Fri Jul 09 08:32:39 2010 +0000
+++ b/lib/libpthread/pthread_equal.3    Fri Jul 09 08:51:28 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_equal.3,v 1.3 2008/05/02 18:11:04 martin Exp $
+.\" $NetBSD: pthread_equal.3,v 1.4 2010/07/09 08:51:28 jruoho Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -55,7 +55,7 @@
 .\"
 .\" $FreeBSD: src/lib/libpthread/man/pthread_equal.3,v 1.11 2002/09/16 19:29:28 mini Exp $
 .\"
-.Dd January 30, 2003
+.Dd July 9, 2010
 .Dt PTHREAD_EQUAL 3
 .Os
 .Sh NAME
@@ -88,6 +88,5 @@
 .Xr pthread_create 3 ,
 .Xr pthread_exit 3
 .Sh STANDARDS
-.Fn pthread_equal
-conforms to
-.St -p1003.1-96 .
+The function conforms to
+.St -p1003.1-2001 .
diff -r 7dd87bec5f88 -r c8679891bf0e lib/libpthread/pthread_exit.3
--- a/lib/libpthread/pthread_exit.3     Fri Jul 09 08:32:39 2010 +0000
+++ b/lib/libpthread/pthread_exit.3     Fri Jul 09 08:51:28 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_exit.3,v 1.4 2008/05/02 18:11:04 martin Exp $
+.\" $NetBSD: pthread_exit.3,v 1.5 2010/07/09 08:51:28 jruoho Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -55,7 +55,7 @@
 .\"
 .\" $FreeBSD: src/lib/libpthread/man/pthread_exit.3,v 1.16 2002/09/16 19:29:28 mini Exp $
 .\"
-.Dd January 30, 2003
+.Dd July 9, 2010
 .Dt PTHREAD_EXIT 3
 .Os
 .Sh NAME
@@ -125,6 +125,5 @@
 .Xr pthread_create 3 ,
 .Xr pthread_join 3
 .Sh STANDARDS
-.Fn pthread_exit
-conforms to
-.St -p1003.1-96 .
+The function conforms to
+.St -p1003.1-2001 .
diff -r 7dd87bec5f88 -r c8679891bf0e lib/libpthread/pthread_join.3
--- a/lib/libpthread/pthread_join.3     Fri Jul 09 08:32:39 2010 +0000
+++ b/lib/libpthread/pthread_join.3     Fri Jul 09 08:51:28 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_join.3,v 1.4 2008/05/02 18:11:04 martin Exp $
+.\" $NetBSD: pthread_join.3,v 1.5 2010/07/09 08:51:28 jruoho Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -55,7 +55,7 @@



Home | Main Index | Thread Index | Old Index