From nobody@FreeBSD.org  Sat Mar  7 18:56:13 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 37A011065677
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  7 Mar 2009 18:56:13 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 254D28FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  7 Mar 2009 18:56:13 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n27IuCul015261
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 7 Mar 2009 18:56:12 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n27IuCtW015260;
	Sat, 7 Mar 2009 18:56:12 GMT
	(envelope-from nobody)
Message-Id: <200903071856.n27IuCtW015260@www.freebsd.org>
Date: Sat, 7 Mar 2009 18:56:12 GMT
From: Niclas Zeising <niclas.zeising@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] remove leftovers of libkse from pthread.3
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         132392
>Category:       docs
>Synopsis:       [PATCH] remove leftovers of libkse from pthread.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    eadler
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 07 19:00:13 UTC 2009
>Closed-Date:    Thu Mar 22 03:39:49 UTC 2012
>Last-Modified:  Thu Mar 22 03:39:49 UTC 2012
>Originator:     Niclas Zeising
>Release:        8.0-CURRENT
>Organization:
>Environment:
>Description:
In the pthread library there is a note towards the end with implementation details. There it's stated that pthread is implemented in either libthr or libkse.
>How-To-Repeat:
man 3 pthread, under implementation notes
>Fix:
Attached patch removes mention of libkse, so only libthr is mentioned. It also cross-references libthr(3).

Patch attached with submission follows:

Index: src/share/man/man3/pthread.3
===================================================================
RCS file: /home/ncvs/src/share/man/man3/pthread.3,v
retrieving revision 1.31
diff -u -d -r1.31 pthread.3
--- src/share/man/man3/pthread.3	22 Oct 2007 10:07:59 -0000	1.31
+++ src/share/man/man3/pthread.3	7 Mar 2009 18:46:48 -0000
@@ -30,7 +30,7 @@
 .\"
 .\" $FreeBSD: src/share/man/man3/pthread.3,v 1.31 2007/10/22 10:07:59 ru Exp $
 .\"
-.Dd October 19, 2007
+.Dd MARS 07, 2009
 .Dt PTHREAD 3
 .Os
 .Sh NAME
@@ -469,15 +469,14 @@
 .Sh IMPLEMENTATION NOTES
 The current
 .Fx
-POSIX thread implementation is built in two libraries,
-.Lb libthr ,
-and
-.Lb libkse .
-They contain both thread-safe versions of
+POSIX thread implementation is built into the
+.Lb libthr .
+It contains both thread-safe versions of
 .Lb libc
 functions and the thread functions.
-Threaded applications are linked with one of these libraries.
+Threaded applications are linked with this library.
 .Sh SEE ALSO
+.Xr libthr 3 ,
 .Xr pthread_atfork 3 ,
 .Xr pthread_cancel 3 ,
 .Xr pthread_cleanup_pop 3 ,


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: trhodes 
State-Changed-When: Wed Apr 1 07:13:36 UTC 2009 
State-Changed-Why:  
Slightly different version of the patch committed to CURRENT, 
thanks! 


Responsible-Changed-From-To: freebsd-doc->trhodes 
Responsible-Changed-By: trhodes 
Responsible-Changed-When: Wed Apr 1 07:13:36 UTC 2009 
Responsible-Changed-Why:  
Over to me. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132392 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/132392: commit references a PR
Date: Wed,  1 Apr 2009 07:13:32 +0000 (UTC)

 Author: trhodes
 Date: Wed Apr  1 07:13:21 2009
 New Revision: 190608
 URL: http://svn.freebsd.org/changeset/base/190608
 
 Log:
   Remove KSE bits, cross reference libthr.3.
   
   PR:		132392
   Submitted by:	Niclas Zeising <niclas.zeising@gmail.com> (original version)
 
 Modified:
   head/share/man/man3/pthread.3
 
 Modified: head/share/man/man3/pthread.3
 ==============================================================================
 --- head/share/man/man3/pthread.3	Wed Apr  1 06:18:51 2009	(r190607)
 +++ head/share/man/man3/pthread.3	Wed Apr  1 07:13:21 2009	(r190608)
 @@ -30,7 +30,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd October 19, 2007
 +.Dd April 1, 2009
  .Dt PTHREAD 3
  .Os
  .Sh NAME
 @@ -469,15 +469,15 @@ cancellation stack.
  .Sh IMPLEMENTATION NOTES
  The current
  .Fx
 -POSIX thread implementation is built in two libraries,
 +POSIX thread implementation is built into the
  .Lb libthr ,
 -and
 -.Lb libkse .
 -They contain both thread-safe versions of
 +library.
 +It contains thread-safe versions of
  .Lb libc
  functions and the thread functions.
 -Threaded applications are linked with one of these libraries.
 +Threaded applications are linked with this library.
  .Sh SEE ALSO
 +.Xr libthr 3 ,
  .Xr pthread_atfork 3 ,
  .Xr pthread_cancel 3 ,
  .Xr pthread_cleanup_pop 3 ,
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: Niclas Zeising <niclas.zeising@gmail.com>
To: bug-followup@FreeBSD.org, niclas.zeising@gmail.com
Cc:  
Subject: Re: docs/132392: [PATCH] remove leftovers of libkse from pthread.3
Date: Tue, 22 Feb 2011 19:41:46 +0100

 This PR can be applied to 7-STABLE and then closed, or if 7-STABLE is
 close to EOL (i.e. no more releases) just closed.
 //Niclas
Responsible-Changed-From-To: trhodes->eadler 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Sun Mar 4 17:00:31 UTC 2012 
Responsible-Changed-Why:  
by request 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132392 
State-Changed-From-To: patched->closed 
State-Changed-By: eadler 
State-Changed-When: Thu Mar 22 03:39:49 UTC 2012 
State-Changed-Why:  
committed to head and MFCed already 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132392 
>Unformatted:
