Hardware Support
On an uniprocessor machine : disable interrupts.
Solution in multiprocessor configurations: Access to a memory location excludes any other access to the same location simultaneously.
How to implement? single instruction or atomic test and set instructions.
Two common instructions: Test and set , Exchange