Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore generic locking techniques in C++ with Andrei Alexandrescu in this comprehensive conference talk. Delve into lock-based synchronization for multithreaded programs, examining the advantages of multiple readers/single writer locks and C++1x STL container guarantees. Discover the folly/Synchronized library, which offers reliable encapsulated locking for generic types, addressing common issues like races and deadlocks. Cover topics including volatiles, multithreading, encapsulation, implementation, synchronous builds, cycle detection, synchronized pipes, locking pointers, and advanced synchronization techniques. Learn about rookie mistakes to avoid, synchronized statements, macro tricks, and Facebook's dot-arrow magic macro for synchronization.
Syllabus
Introduction
Volatiles
Multithreading
Cx1x
STD Containers
Encapsulation
Implementation
Synchronous
Build from data
Cycle detection
Synchronized pipe
Recap
Locking Pointer
Move
Parse
LogPointer
C Begin
You Know That Macro
Rookie Mistake
Synchronized Statement
Macro Trick
Synchronization
Expression
Two Arguments
Facebook
dot
arrow
magic macro
Synchronize
Taught by
NDC Conferences