Module 11: "Synchronization"
  Lecture 23: "Barriers and Speculative Synchronization"
 

 

Barrier

Centralized barrier

Sense reversal

Centralized barrier

Tree barrier

Hardware support

Hardware barrier

Speculative synch.

Why is it good?

How does it work?

Why is it correct?

Performance concerns

Speculative flags and barriers

Speculative flags and branch prediction