CSC/ECE 506 Spring 2010/Ch 9/Synchronization: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 2: Line 2:


===Hardware Implementations===
===Hardware Implementations===
Hardware implementations for synchronization traditionally include locks, barriers, and mutual exclusion.
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===
===OS Implementations===

Revision as of 04:10, 12 April 2010

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