Why AtomicOp required in system?

Status
Not open for further replies.

jdshah

Junior Member level 3
Joined
Dec 17, 2010
Messages
28
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Ahmedabad
Visit site
Activity points
1,481
Hi

Why AtomicOp is needed in any system? What is its use?

As far as I know there are three type of AtomicOp.
1.) Fetch and Add
2.) Compare and Swap
3.) Unconditional Swap

If possible give me some example where exactly these three types are used?

Thanks in advance
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…