The ReaderWriterLock class is a great alternative to other sychronization methods when you have situations where you have infrequent short duration writes, and a high frequency of reads.
This class is designed to allow concurrent access for multiple readers threads, or write access for a single thread.
The msdn help article provides a good example to demonstrate how it can be used.
Post a Comment