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.
This commit is contained in:
parent
a371a5fd85
commit
a5019a3b95
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283093
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user