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.
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.
{{toc.Position}} | {{toc.Text}} |