mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue