|author||Rich Felker <firstname.lastname@example.org>||2019-02-16 10:13:31 -0500|
|committer||Rich Felker <email@example.com>||2019-02-16 10:13:31 -0500|
rewrite pthread_key_delete to use global thread list
with the availability of the thread list, there is no need to mark tsd key slots dirty and clean them up only when a free slot can't be found. instead, directly iterate threads and clear any value associated with the key being deleted. no synchronization is necessary for the clearing, since there is no way the slot can be accessed without having synchronized with the creation of a new key occupying the same slot, which is already sequenced after and synchronized with the deletion of the old key.
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions