Thread Synchronization Primitives

Purchase a Subscription!

Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, access offline videos and skills assessments, and use the discussion forums, log in or purchase a subscription.


Instructor

Jeffrey Richter

Description

This video explores the concept of thread synchronization and provides the mindset that developers should have about it and how they should approach it within their own applications. It goes deeply into the CLR’s memory model, compiler/CPU optimizations, and how these effect multi-threaded applications. It then explains how to use volatile and interlocked methods effectively to counter these optimizations, thereby preventing threads from corrupting application state. In short, you'll learn a vareity of simple but effective techniques for solving everyday synchronization problems efficiently.

Table of Contents

{{toc.Position}} {{toc.Text}}

Related Links

  • {{link.LinkText}} (requires a paid subscription)

Series

This course is part of the following series: