NetBSD-Bugs archive

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

misc/42871: pthread_create(3): improve wording and add a reference



>Number:         42871
>Category:       misc
>Synopsis:       pthread_create(3): improve wording and add a reference
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 23 05:20:00 +0000 2010
>Originator:     Emil Hessman
>Release:        NetBSD 5.0
>Organization:
>Environment:
>Description:
Improve wording of:

"If the attribute object pointed to by attr are modified later, the thread's 
attributes are not affected." 

... to: 

"If the attributes specified by attr are modified later, the thread's 
attributes are not affected."

Also add a reference to pthread_attr(3) while here.
>How-To-Repeat:
man 3 pthread_create
>Fix:
Index: pthread_create.3
===================================================================
RCS file: /cvsroot/src/lib/libpthread/pthread_create.3,v
retrieving revision 1.5
diff -u -r1.5 pthread_create.3
--- pthread_create.3    2 May 2008 18:11:04 -0000       1.5
+++ pthread_create.3    23 Feb 2010 05:05:42 -0000
@@ -54,7 +54,7 @@
 .\"
 .\" $FreeBSD: src/lib/libpthread/man/pthread_create.3,v 1.16 2002/09/16 
19:29:28 mini Exp $
 .\"
-.Dd January 30, 2003
+.Dd February 23, 2010
 .Dt PTHREAD_CREATE 3
 .Os
 .Sh NAME
@@ -77,7 +77,7 @@
 is
 .Dv NULL ,
 the default attributes are used.
-If the attribute object pointed to by
+If the attributes specified by
 .Fa attr
 are modified later, the thread's attributes are not affected.
 Upon
@@ -138,6 +138,7 @@
 .El
 .Sh SEE ALSO
 .Xr fork 2 ,
+.Xr pthread_attr 3 ,
 .Xr pthread_cleanup_pop 3 ,
 .Xr pthread_cleanup_push 3 ,
 .Xr pthread_exit 3 ,



Home | Main Index | Thread Index | Old Index