ian r

Show:

What's happening?

  • Clearing the cache with a named thread

    Hi, I usually use CacheManager.Clear(Thread.CurrentThread.GetHashCode()); to clear the cache for the current thread. Recently I noticed that this was no longer working inside NUnit tests - I think this co-incided with NUnit changing their threading system I notice in the comments it says that CacheManager.Clear(int); .. will not work if the Thread has a name - this turns out to be...

    2009-05-20 10:50:43 UTC in Gentle.NET Object Persistence Framework

About Me

  • 2005-03-17 (5 years ago)
  • 1241157
  • ianr74 (My Site)
  • ian r

Send me a message