Status
This report has been suggested to the WG14 convenerSubmitter:
Submission Date:
Source: Owen Shepherd
Reference Document: N/A
Version:
Date:
Subject: tss_t destruction unspecified
Summary
The standard does not specify if or when destructors for thread specific data keys (created with the tss_create
function) are invoked.
...
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.
Page Properties | ||||||||
---|---|---|---|---|---|---|---|---|
|