Previous | Next --- Slide 33 of 44
Back to Lecture Thumbnails
eosofsky

From lecture, one difference between atomic operations and locks is that atomic operations are usually implemented using direct hardware support.

shpeefps

What are the main benefits of having direct hardware support?

dmerigou

The main benefit is reducing the overhead of all these operations, that are implemented in a single instruction instead of multiple, coordonated with locks.

sampathchanda

Atomic operations implemented with direct hardware support are easier to implement.

themj

Why do atomic operations perform better/faster than locks? Is it because they are specialized to specific types of operations?