CSC/ECE 506 Spring 2010/Ch 9/Synchronization

From Expertiza_Wiki
Jump to navigation Jump to search

Hardware Support For Synchronization

Hardware Implementations

Hardware implementations for synchronization traditionally include locks, barriers, and mutual exclusion. These types of hardware synchronizations use a method called busy-waiting, or spinning in order to continuously check if a thread can access shared variables.

OS Implementations

Mutual Exclusion

Overhead

Improved Hardware Primitives

Barriers