Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2015 02:24:55 +0000 (UTC)
From:      Patrick Kelsey <pkelsey@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r283093 - head/share/man/man3
Message-ID:  <201505190224.t4J2Ot6N099202@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkelsey
Date: Tue May 19 02:24:55 2015
New Revision: 283093
URL: https://svnweb.freebsd.org/changeset/base/283093

Log:
  Added description of POSIX-specified behavior when invoked on a key from within that key's destructor.
  
  Reviewed by: jhb, -doc
  Approved by: jmallett (mentor)
  MFC after: 3 days
  Sponsored by: Norse Corp, Inc.

Modified:
  head/share/man/man3/pthread_getspecific.3

Modified: head/share/man/man3/pthread_getspecific.3
==============================================================================
--- head/share/man/man3/pthread_getspecific.3	Mon May 18 23:46:11 2015	(r283092)
+++ head/share/man/man3/pthread_getspecific.3	Tue May 19 02:24:55 2015	(r283093)
@@ -64,6 +64,11 @@ is undefined.
 The
 .Fn pthread_getspecific
 function may be called from a thread-specific data destructor function.
+A call to
+.Fn pthread_getspecific
+for the thread-specific data key being destroyed returns the value NULL,
+unless the value is changed (after the destructor starts) by a call to
+.Fn pthread_setspecific .
 .Sh RETURN VALUES
 The
 .Fn pthread_getspecific



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505190224.t4J2Ot6N099202>