Browse by Tags

All Tags » IDisposable » C# (RSS)

Thread Safe Library Update

As always, my life revolves around threading. So I have a few classes that I use frequently for these purposes. Now, fortunately, .NET 4.0 will include much of this functionality in PFX, but for now, we have this. ThreadSafeLibrary AutoProcessingQueue...
Posted by Brian Rudolph | with no comments
Filed under: , , ,

Inline Asynchronous UI Coding using IDisposable in C# .NET

I recently watched this video on the PowerThreading library: http://blogs.msdn.com/charlie/archive/2008/12/03/jeff-richter-video-on-asynchronous-programming-and-his-power-threading-library.aspx This is very interesting as Jeff Richter utilizes a strange...
Posted by Brian Rudolph | with no comments
Filed under: , , ,

Thread Safe Dictionary in .NET with ReaderWriterLockSlim

Since MS has decided to not include a thread-safe dictionary in the .NET framework, many of us have been forced to implement our own. What MS has done now with .NET 3.5 is given us a newer locking mechanism which makes this task easier. Previously, we...