From owner-svn-src-stable@FreeBSD.ORG Thu Jun 4 04:50:53 2015 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9969D70D; Thu, 4 Jun 2015 04:50:53 +0000 (UTC) (envelope-from pkelsey@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 863BD1584; Thu, 4 Jun 2015 04:50:53 +0000 (UTC) (envelope-from pkelsey@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t544orAK012583; Thu, 4 Jun 2015 04:50:53 GMT (envelope-from pkelsey@FreeBSD.org) Received: (from pkelsey@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t544orJN012582; Thu, 4 Jun 2015 04:50:53 GMT (envelope-from pkelsey@FreeBSD.org) Message-Id: <201506040450.t544orJN012582@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pkelsey set sender to pkelsey@FreeBSD.org using -f From: Patrick Kelsey Date: Thu, 4 Jun 2015 04:50:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r283977 - stable/10/share/man/man3 X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 04:50:53 -0000 Author: pkelsey Date: Thu Jun 4 04:50:52 2015 New Revision: 283977 URL: https://svnweb.freebsd.org/changeset/base/283977 Log: MFC r283652: Provide an unambiguous description of the potential hazard in calling pthread_setspecific(3) from a key destructor. Modified: stable/10/share/man/man3/pthread_setspecific.3 Modified: stable/10/share/man/man3/pthread_setspecific.3 ============================================================================== --- stable/10/share/man/man3/pthread_setspecific.3 Thu Jun 4 02:50:13 2015 (r283976) +++ stable/10/share/man/man3/pthread_setspecific.3 Thu Jun 4 04:50:52 2015 (r283977) @@ -67,7 +67,10 @@ is undefined. The .Fn pthread_setspecific function may be called from a thread-specific data destructor function, -however this may result in lost storage or infinite loops. +however this may result in lost storage or infinite loops if doing so +causes non-NULL key values to remain after +.Bq PTHREAD_DESTRUCTOR_ITERATIONS +iterations of destructor calls have been made. .Sh RETURN VALUES If successful, the .Fn pthread_setspecific