Skip to Content
Essential C# 3.0: For .NET Framework 3.5
book

Essential C# 3.0: For .NET Framework 3.5

by Mark Michaelis
August 2008
Intermediate to advanced content levelIntermediate to advanced
880 pages
18h 35m
English
Addison-Wesley Professional
Content preview from Essential C# 3.0: For .NET Framework 3.5

19. Multithreading Patterns

CHAPTER 18 FOCUSED on managing threads and synchronizing the data the threads share. As developers write more multithreaded code, a common set of scenarios and programming patterns for handling those scenarios emerges. The key scenarios relate to notifications of when a thread completes and notifications about the progress on the threads’ status. In addition, there is some built-in C# functionality for calling methods asynchronously, regardless of whether their signatures match ThreadStart. Most importantly, going with built-in patterns like this significantly reduces the effort in programming to solve these types of scenarios from scratch.

The two patterns specifically designed for these scenarios are the asynchronous ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C# 4.0 Unleashed

C# 4.0 Unleashed

Bart De Smet

Publisher Resources

ISBN: 9780321580559Purchase book