.NET Synchronised Dictionary(dotnet.dzone.com)
submitted by
volume4(910) 3 years, 11 months ago
In .NET 2.0 and above the SyncRoot was removed from the Dictionary and Hastable classes which meant you can't create thread-safe versions of these anymore. So here I provide a simple implementation of a generic synchronised dictionary class that is thread-safe, this was developed in .NET 3.5 using the new Threading.ReaderWriterLockSlim class.
|category: ASP.NET
|Views: 10
tags:
ASP.NET another
Everyones tags:
Your Tags: