...
Note that destructors associated thread specific storage are not invoked at process exit.
To 7.26.6.2p2, append
No destructors are invokedIf tss_delete
is called while another thread is executing destructors, whether this will affect the number of invocations of the destructor associated with key
on that thread is unspecified. If the thread from which tss_delete
is invoked is executing destructors, then no further invocations of the destructor associated with key
will occur on said thread.
Calling tss_delete
will not result in the invocation of any destructors.
After 7.26.6.4p2, add
This action will not invoke the destructor associated with the key on the value being replaced.