Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 May 2015 01:52:22 +0000 (UTC)
From:      Patrick Kelsey <pkelsey@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r283344 - stable/10/share/man/man3
Message-ID:  <201505240152.t4O1qMst042656@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkelsey
Date: Sun May 24 01:52:22 2015
New Revision: 283344
URL: https://svnweb.freebsd.org/changeset/base/283344

Log:
  MFC r283093:
  
  Added description of POSIX-specified behavior when invoked on a key from within that key's destructor.

Modified:
  stable/10/share/man/man3/pthread_getspecific.3
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/share/man/man3/pthread_getspecific.3
==============================================================================
--- stable/10/share/man/man3/pthread_getspecific.3	Sun May 24 01:48:33 2015	(r283343)
+++ stable/10/share/man/man3/pthread_getspecific.3	Sun May 24 01:52:22 2015	(r283344)
@@ -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?201505240152.t4O1qMst042656>