diff options
author | pkelsey <pkelsey@FreeBSD.org> | 2015-05-24 01:52:22 +0000 |
---|---|---|
committer | pkelsey <pkelsey@FreeBSD.org> | 2015-05-24 01:52:22 +0000 |
commit | ccae88f4a65d0085738956ee28569c818e9b6720 (patch) | |
tree | 67fd2d08213e555efe421b2012f3cd18d48dc279 /share/man | |
parent | 19d4f6b6bfbe03501b3bfd21a0c445c08e12d564 (diff) | |
download | FreeBSD-src-ccae88f4a65d0085738956ee28569c818e9b6720.zip FreeBSD-src-ccae88f4a65d0085738956ee28569c818e9b6720.tar.gz |
MFC r283093:
Added description of POSIX-specified behavior when invoked on a key from within that key's destructor.
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man3/pthread_getspecific.3 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/man/man3/pthread_getspecific.3 b/share/man/man3/pthread_getspecific.3 index d59003f..3657e13 100644 --- a/share/man/man3/pthread_getspecific.3 +++ b/share/man/man3/pthread_getspecific.3 @@ -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 |