Hi,
I have read that CAS uses the processor's instruction set to
update memory values. Why is this more efficient than using
synchronized ? What is the locking overhead when we use synchronized ?
Seems it is a basic doubt again.
Thanks,
Mohan