Error!
Success!

Thread Safe Dictionary Using ReaderWriterLockSlim

0
kicks

Thread Safe Dictionary Using ReaderWriterLockSlim  (Unpublished)

The dictionary uses ReaderWriterLockSlim locks. These are clean, lightweight locks that MS has provided. Most importantly, they allow upgradeable read locks. I now use simple IDisposable locking wrappers. This allows us to use the "using" syntax to ensure lock releases.


Kicked By:
Drop Kicked By: