A "thread-safe" class is one whose members are protected from situations in which one thread interrupts another thread. The standard .NET collection types are not thread safe, which can lead to a slew of problems, including race conditions, data corruption, and unexpected exceptions in modern multithreaded applications. In this course, instructor Walt Ritscher demonstrates how to work with the thread-safe concurrent collections to share data across threads and build more scalable applications. Using practical examples, Walt outlines the problems you can face when working in multithreaded applications and explains why concurrent collections are great at handling multiple threads. He explores how to work with the ConcurrentDictionary class, including how to update data in ConcurrentDictionary. Plus, learn about the producer-consumer pattern and how it relates to concurrent collections types, how to use BlockingCollection-a thread-safe collection class-and more.
Zum Download / Zur Anzeige
Weiterführende Informationen
Personen: Ritscher, Walt
Ritscher, Walt:
Advanced C#: Thread-Safe Data with Concurrent Collections : LinkedIn, 2020. - 01:39:00.00
Signatur: eLearning -