﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>tytusse commented on Detailed Answer: Your own ThreadLocal</title><description>+ you should cleanup:
  
- after thread dies (threadstatic class with finalizer)
  
- after closablethreadlocal goes out of scope
  
  
Also you'll probably need to sync this list both in Slots getter and in destructor(s)
</description><link>http://ayende.com/4731/detailed-answer-your-own-threadlocal#comment2</link><guid>http://ayende.com/4731/detailed-answer-your-own-threadlocal#comment2</guid><pubDate>Thu, 23 Dec 2010 10:03:01 GMT</pubDate></item><item><title>Nadav commented on Detailed Answer: Your own ThreadLocal</title><description>each instance is still only cleanning up the last thread's slots var that used it. The captured slots needs to be a list that will contain all the slots vars that that used the holder of a specific instance, and the d'tor needs to iterate over all those slots and clean them all up
</description><link>http://ayende.com/4731/detailed-answer-your-own-threadlocal#comment1</link><guid>http://ayende.com/4731/detailed-answer-your-own-threadlocal#comment1</guid><pubDate>Wed, 22 Dec 2010 16:08:50 GMT</pubDate></item></channel></rss>