Module Name: src
Committed By: abhinav
Date: Sun Oct 22 16:37:24 UTC 2017
Modified Files:
src/lib/libpthread: pthread_attr_getguardsize.3
pthread_attr_getinheritsched.3 pthread_attr_getname_np.3
pthread_attr_getschedparam.3 pthread_attr_getscope.3
pthread_attr_getstack.3 pthread_cond.3 pthread_getname_np.3
pthread_getspecific.3 pthread_key_create.3 pthread_mutex.3
pthread_rwlock.3 pthread_spin.3
Log Message:
Add missing function names in the NAME section for rest of the man pages in
libpthread
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libpthread/pthread_attr_getguardsize.3 \
src/lib/libpthread/pthread_getname_np.3
cvs rdiff -u -r1.3 -r1.4 src/lib/libpthread/pthread_attr_getinheritsched.3
cvs rdiff -u -r1.6 -r1.7 src/lib/libpthread/pthread_attr_getname_np.3 \
src/lib/libpthread/pthread_attr_getstack.3 \
src/lib/libpthread/pthread_rwlock.3
cvs rdiff -u -r1.2 -r1.3 src/lib/libpthread/pthread_attr_getschedparam.3 \
src/lib/libpthread/pthread_attr_getscope.3
cvs rdiff -u -r1.7 -r1.8 src/lib/libpthread/pthread_cond.3
cvs rdiff -u -r1.5 -r1.6 src/lib/libpthread/pthread_getspecific.3 \
src/lib/libpthread/pthread_spin.3
cvs rdiff -u -r1.8 -r1.9 src/lib/libpthread/pthread_key_create.3
cvs rdiff -u -r1.9 -r1.10 src/lib/libpthread/pthread_mutex.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_attr_getguardsize.3
diff -u src/lib/libpthread/pthread_attr_getguardsize.3:1.4 src/lib/libpthread/pthread_attr_getguardsize.3:1.5
--- src/lib/libpthread/pthread_attr_getguardsize.3:1.4 Sun Jul 2 16:41:32 2017
+++ src/lib/libpthread/pthread_attr_getguardsize.3 Sun Oct 22 16:37:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_attr_getguardsize.3,v 1.4 2017/07/02 16:41:32 joerg Exp $
+.\" $NetBSD: pthread_attr_getguardsize.3,v 1.5 2017/10/22 16:37:24 abhinav Exp $
.\"
.\" Copyright (c) 2010 Jukka Ruohonen <[email protected]>
.\" All rights reserved.
@@ -29,7 +29,8 @@
.Dt PTHREAD_ATTR_GETGUARDSIZE 3
.Os
.Sh NAME
-.Nm pthread_attr_getguardsize
+.Nm pthread_attr_getguardsize ,
+.Nm pthread_attr_setguardsize
.Nd get and set thread guard size
.Sh LIBRARY
.Lb libpthread
Index: src/lib/libpthread/pthread_getname_np.3
diff -u src/lib/libpthread/pthread_getname_np.3:1.4 src/lib/libpthread/pthread_getname_np.3:1.5
--- src/lib/libpthread/pthread_getname_np.3:1.4 Fri Jul 9 07:31:01 2010
+++ src/lib/libpthread/pthread_getname_np.3 Sun Oct 22 16:37:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_getname_np.3,v 1.4 2010/07/09 07:31:01 jruoho Exp $
+.\" $NetBSD: pthread_getname_np.3,v 1.5 2017/10/22 16:37:24 abhinav Exp $
.\"
.\" Copyright (c)2007 YAMAMOTO Takashi,
.\" All rights reserved.
@@ -29,7 +29,8 @@
.Dt PTHREAD_GETNAME_NP 3
.Os
.Sh NAME
-.Nm pthread_getname_np
+.Nm pthread_getname_np ,
+.Nm pthread_setname_np
.Nd get and set descriptive name of a thread
.\" ------------------------------------------------------------
.Sh LIBRARY
Index: src/lib/libpthread/pthread_attr_getinheritsched.3
diff -u src/lib/libpthread/pthread_attr_getinheritsched.3:1.3 src/lib/libpthread/pthread_attr_getinheritsched.3:1.4
--- src/lib/libpthread/pthread_attr_getinheritsched.3:1.3 Fri May 10 21:06:14 2013
+++ src/lib/libpthread/pthread_attr_getinheritsched.3 Sun Oct 22 16:37:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_attr_getinheritsched.3,v 1.3 2013/05/10 21:06:14 christos Exp $
+.\" $NetBSD: pthread_attr_getinheritsched.3,v 1.4 2017/10/22 16:37:24 abhinav Exp $
.\"
.\" Copyright (c) 2010 Jukka Ruohonen <[email protected]>
.\" All rights reserved.
@@ -29,7 +29,8 @@
.Dt PTHREAD_ATTR_GETINHERITSCHED 3
.Os
.Sh NAME
-.Nm pthread_attr_getinheritsched
+.Nm pthread_attr_getinheritsched ,
+.Nm pthread_attr_setinheritsched
.Nd get and set
.Dq inheritsched
attribute
Index: src/lib/libpthread/pthread_attr_getname_np.3
diff -u src/lib/libpthread/pthread_attr_getname_np.3:1.6 src/lib/libpthread/pthread_attr_getname_np.3:1.7
--- src/lib/libpthread/pthread_attr_getname_np.3:1.6 Fri Jul 9 10:55:57 2010
+++ src/lib/libpthread/pthread_attr_getname_np.3 Sun Oct 22 16:37:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_attr_getname_np.3,v 1.6 2010/07/09 10:55:57 jruoho Exp $
+.\" $NetBSD: pthread_attr_getname_np.3,v 1.7 2017/10/22 16:37:24 abhinav Exp $
.\"
.\" Copyright (c)2007 YAMAMOTO Takashi,
.\" All rights reserved.
@@ -29,7 +29,8 @@
.Dt PTHREAD_ATTR_GETNAME_NP 3
.Os
.Sh NAME
-.Nm pthread_attr_getname_np
+.Nm pthread_attr_getname_np ,
+.Nm pthread_attr_setname_np
.Nd get and set descriptive name of an attribute
.\" ------------------------------------------------------------
.Sh LIBRARY
Index: src/lib/libpthread/pthread_attr_getstack.3
diff -u src/lib/libpthread/pthread_attr_getstack.3:1.6 src/lib/libpthread/pthread_attr_getstack.3:1.7
--- src/lib/libpthread/pthread_attr_getstack.3:1.6 Tue Jul 5 10:04:17 2016
+++ src/lib/libpthread/pthread_attr_getstack.3 Sun Oct 22 16:37:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_attr_getstack.3,v 1.6 2016/07/05 10:04:17 wiz Exp $
+.\" $NetBSD: pthread_attr_getstack.3,v 1.7 2017/10/22 16:37:24 abhinav Exp $
.\"
.\" Copyright (c) 2010 Jukka Ruohonen <[email protected]>
.\" All rights reserved.
@@ -29,7 +29,12 @@
.Dt PTHREAD_ATTR_GETSTACK 3
.Os
.Sh NAME
-.Nm pthread_attr_getstack
+.Nm pthread_attr_getstack ,
+.Nm pthread_attr_setstack ,
+.Nm pthread_attr_getstacksize ,
+.Nm pthread_attr_setstacksize ,
+.Nm pthread_attr_getstackaddr ,
+.Nm pthread_attr_setstackaddr
.Nd get and set thread stack attributes
.Sh LIBRARY
.Lb libpthread
Index: src/lib/libpthread/pthread_rwlock.3
diff -u src/lib/libpthread/pthread_rwlock.3:1.6 src/lib/libpthread/pthread_rwlock.3:1.7
--- src/lib/libpthread/pthread_rwlock.3:1.6 Tue Jul 5 10:04:17 2016
+++ src/lib/libpthread/pthread_rwlock.3 Sun Oct 22 16:37:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_rwlock.3,v 1.6 2016/07/05 10:04:17 wiz Exp $
+.\" $NetBSD: pthread_rwlock.3,v 1.7 2017/10/22 16:37:24 abhinav Exp $
.\"
.\" Copyright (c) 2002, 2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -53,7 +53,16 @@
.Dt PTHREAD_RWLOCK 3
.Os
.Sh NAME
-.Nm pthread_rwlock
+.Nm pthread_rwlock ,
+.Nm pthread_rwlock_init ,
+.Nm pthread_rwlock_destroy ,
+.Nm pthread_rwlock_rdlock ,
+.Nm pthread_rwlock_timedrdlock ,
+.Nm pthread_rwlock_tryrdlock ,
+.Nm pthread_rwlock_wrlock ,
+.Nm pthread_rwlock_timedwrlock ,
+.Nm pthread_rwlock_trywrlock ,
+.Nm pthread_rwlock_unlock
.Nd read/write lock interface
.Sh LIBRARY
.Lb libpthread
Index: src/lib/libpthread/pthread_attr_getschedparam.3
diff -u src/lib/libpthread/pthread_attr_getschedparam.3:1.2 src/lib/libpthread/pthread_attr_getschedparam.3:1.3
--- src/lib/libpthread/pthread_attr_getschedparam.3:1.2 Thu Jul 8 22:19:26 2010
+++ src/lib/libpthread/pthread_attr_getschedparam.3 Sun Oct 22 16:37:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_attr_getschedparam.3,v 1.2 2010/07/08 22:19:26 jruoho Exp $
+.\" $NetBSD: pthread_attr_getschedparam.3,v 1.3 2017/10/22 16:37:24 abhinav Exp $
.\"
.\" Copyright (c) 2010 Jukka Ruohonen <[email protected]>
.\" All rights reserved.
@@ -29,7 +29,10 @@
.Dt PTHREAD_ATTR_GETSCHEDPARAM 3
.Os
.Sh NAME
-.Nm pthread_attr_getschedparam
+.Nm pthread_attr_getschedparam ,
+.Nm pthread_attr_setschedparam ,
+.Nm pthread_attr_getschedpolicy ,
+.Nm pthread_attr_setschedpolicy
.Nd get and set scheduling attributes
.Sh LIBRARY
.Lb libpthread
Index: src/lib/libpthread/pthread_attr_getscope.3
diff -u src/lib/libpthread/pthread_attr_getscope.3:1.2 src/lib/libpthread/pthread_attr_getscope.3:1.3
--- src/lib/libpthread/pthread_attr_getscope.3:1.2 Wed Jul 7 10:22:33 2010
+++ src/lib/libpthread/pthread_attr_getscope.3 Sun Oct 22 16:37:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_attr_getscope.3,v 1.2 2010/07/07 10:22:33 njoly Exp $
+.\" $NetBSD: pthread_attr_getscope.3,v 1.3 2017/10/22 16:37:24 abhinav Exp $
.\"
.\" Copyright (c) 2010 Jukka Ruohonen <[email protected]>
.\" All rights reserved.
@@ -29,7 +29,8 @@
.Dt PTHREAD_ATTR_GETSCOPE 3
.Os
.Sh NAME
-.Nm pthread_attr_getscope
+.Nm pthread_attr_getscope ,
+.Nm pthread_attr_setscope
.Nd get and set the contention scope attribute
.Sh LIBRARY
.Lb libpthread
Index: src/lib/libpthread/pthread_cond.3
diff -u src/lib/libpthread/pthread_cond.3:1.7 src/lib/libpthread/pthread_cond.3:1.8
--- src/lib/libpthread/pthread_cond.3:1.7 Tue Jul 5 10:04:17 2016
+++ src/lib/libpthread/pthread_cond.3 Sun Oct 22 16:37:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_cond.3,v 1.7 2016/07/05 10:04:17 wiz Exp $
+.\" $NetBSD: pthread_cond.3,v 1.8 2017/10/22 16:37:24 abhinav Exp $
.\"
.\" Copyright (c) 2002, 2008 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -56,7 +56,13 @@
.Dt PTHREAD_COND 3
.Os
.Sh NAME
-.Nm pthread_cond
+.Nm pthread_cond ,
+.Nm pthread_cond_init ,
+.Nm pthread_cond_destroy ,
+.Nm pthread_cond_broadcast ,
+.Nm pthread_cond_signal ,
+.Nm pthread_cond_wait ,
+.Nm pthread_cond_timedwait
.Nd condition variable interface
.Sh LIBRARY
.Lb libpthread
Index: src/lib/libpthread/pthread_getspecific.3
diff -u src/lib/libpthread/pthread_getspecific.3:1.5 src/lib/libpthread/pthread_getspecific.3:1.6
--- src/lib/libpthread/pthread_getspecific.3:1.5 Fri Jul 9 10:49:48 2010
+++ src/lib/libpthread/pthread_getspecific.3 Sun Oct 22 16:37:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_getspecific.3,v 1.5 2010/07/09 10:49:48 wiz Exp $
+.\" $NetBSD: pthread_getspecific.3,v 1.6 2017/10/22 16:37:24 abhinav Exp $
.\"
.\" Copyright (c) 2002, 2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -59,7 +59,8 @@
.Dt PTHREAD_GETSPECIFIC 3
.Os
.Sh NAME
-.Nm pthread_getspecific
+.Nm pthread_getspecific ,
+.Nm pthread_setspecific
.Nd thread-specific data value
.Sh LIBRARY
.Lb libpthread
Index: src/lib/libpthread/pthread_spin.3
diff -u src/lib/libpthread/pthread_spin.3:1.5 src/lib/libpthread/pthread_spin.3:1.6
--- src/lib/libpthread/pthread_spin.3:1.5 Fri Jul 9 10:55:11 2010
+++ src/lib/libpthread/pthread_spin.3 Sun Oct 22 16:37:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_spin.3,v 1.5 2010/07/09 10:55:11 wiz Exp $
+.\" $NetBSD: pthread_spin.3,v 1.6 2017/10/22 16:37:24 abhinav Exp $
.\"
.\" Copyright (c) 2002, 2008, 2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -29,7 +29,12 @@
.Dt PTHREAD_SPIN 3
.Os
.Sh NAME
-.Nm pthread_spin
+.Nm pthread_spin ,
+.Nm pthread_spin_init ,
+.Nm pthread_spin_destroy ,
+.Nm pthread_spin_lock ,
+.Nm pthread_spin_trylock ,
+.Nm pthread_spin_unlock
.Nd spin lock interface
.Sh LIBRARY
.Lb libpthread
Index: src/lib/libpthread/pthread_key_create.3
diff -u src/lib/libpthread/pthread_key_create.3:1.8 src/lib/libpthread/pthread_key_create.3:1.9
--- src/lib/libpthread/pthread_key_create.3:1.8 Fri May 29 18:00:51 2015
+++ src/lib/libpthread/pthread_key_create.3 Sun Oct 22 16:37:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_key_create.3,v 1.8 2015/05/29 18:00:51 wiz Exp $
+.\" $NetBSD: pthread_key_create.3,v 1.9 2017/10/22 16:37:24 abhinav Exp $
.\"
.\" Copyright (c) 2002, 2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -59,7 +59,8 @@
.Dt PTHREAD_KEY_CREATE 3
.Os
.Sh NAME
-.Nm pthread_key_create
+.Nm pthread_key_create ,
+.Nm pthread_key_delete
.Nd thread-specific data
.Sh LIBRARY
.Lb libpthread
Index: src/lib/libpthread/pthread_mutex.3
diff -u src/lib/libpthread/pthread_mutex.3:1.9 src/lib/libpthread/pthread_mutex.3:1.10
--- src/lib/libpthread/pthread_mutex.3:1.9 Sun Oct 30 23:26:33 2016
+++ src/lib/libpthread/pthread_mutex.3 Sun Oct 22 16:37:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_mutex.3,v 1.9 2016/10/30 23:26:33 kamil Exp $
+.\" $NetBSD: pthread_mutex.3,v 1.10 2017/10/22 16:37:24 abhinav Exp $
.\"
.\" Copyright (c) 2002, 2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -56,7 +56,15 @@
.Dt PTHREAD_MUTEX 3
.Os
.Sh NAME
-.Nm pthread_mutex
+.Nm pthread_mutex ,
+.Nm pthread_mutex_init ,
+.Nm pthread_mutex_destroy ,
+.Nm pthread_mutex_lock ,
+.Nm pthread_mutex_trylock ,
+.Nm pthread_mutex_unlock ,
+.Nm pthread_mutex_timedlock ,
+.Nm pthread_mutex_getprioceiling ,
+.Nm pthread_mutex_setprioceiling
.Nd mutual exclusion primitives
.Sh LIBRARY
.Lb libpthread