Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

Challenge: Your own ThreadLocal

AddThis Social Bookmark Button
I found a bug in Lucene.NET that resulted in a memory leak in RavenDB. Take a look here (I have simplified the code to some extent, but the same spirit remains): public class CloseableThreadLocal { [ThreadStatic] private static Dictionary slots; public static Dictionary Slots
{ get { return slots ?? (slots = new Dictionary()); } } public /*protected internal*/ virtual Object InitialValue() { return null; } ...(Read whole news on source site)

Home : Blog List : VibrantCode : Challenge: Your own ThreadLocal