Next:
Atomic variables
Up:
Synchronisation at Hardware level
Previous:
Synchronisation at Hardware level
Hardware instructions
Test and set — Tests and modifies a word atomically, and uninterruptedly.
Compare and swap — Swap two words atomically and uninterrupedly.