diff options
author | pkelsey <pkelsey@FreeBSD.org> | 2015-05-19 02:24:55 +0000 |
---|---|---|
committer | pkelsey <pkelsey@FreeBSD.org> | 2015-05-19 02:24:55 +0000 |
commit | ffa8ae0e9f9edcd93015b091bcdf393f53df3ba6 (patch) | |
tree | 12af0f94cad015968cae04cabbc733eb0ed6bdbe /share/man/man3 | |
parent | fcf0fbf9ed4820d5be560952f5a24594b0a63a67 (diff) | |
download | FreeBSD-src-ffa8ae0e9f9edcd93015b091bcdf393f53df3ba6.zip FreeBSD-src-ffa8ae0e9f9edcd93015b091bcdf393f53df3ba6.tar.gz |
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.
Diffstat (limited to 'share/man/man3')
-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 |