Re: ReaderWriterLock
[Originally posted by pdavila] Alan, Thanks for your comments. The part that is confusing, is that the .NET documentation specifically singles out the ArrayList as being thread safe for reading. It makes me suspect other collection classes as not been thread safe for reading. In other words, would an array, or a queue, for example, be thread safe if all I'm doing is reading the data from multiple threads? P.S. I do understand your comment about state information. Fortunately, the state information is encapsulated within and with each class that contains each thread. Each thread uses it own state information. Thanks, Peter
|