Chapter 6. Concurrent Collections

Concurrent Collections Me! Me! Me!

Thread safety has been a major concern for API (Application Programming Interface) or framework developers for many years. Achieving thread safety had been inherently hard. These developers have always dreamt of collections that are primitively thread-safe, not requiring any locking mechanism when consumed in a multi-threaded environment.

Moreover, applications that can do more than one thing (also known as multi-threaded applications) are almost taken for granted these days. If an application fails to live up to this expectation, then it has little chance of surviving.

Thanks to Concurrent Collections ...

Get .NET 4.0 Generics now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.