Lock-free reference-counting a TLS slot using atomics, part 2 Getting it is easy. Getting rid of it is hard. Click here to read the article