info needed on atomic operations

2004-01-04 Thread Srinivas Chinta
Hi all, I need some information on atomic operations. Please provide me some information on how do I do the following operations atomically(for iX86): (1) set a charecter ( dst = src), (2) compare and then set a charecter ( if (dst==X) dst = src;) It would be great If you provide some referenc

info needed on atomic operations

2004-01-01 Thread Srinivas Chinta
Hi all, I need some information on atomic operations. Please provide me some information on how do I do the following operations atomically(for iX86): (1) set a charecter ( dst = src), (2) compare and then set a charecter ( if (dst==X) dst = src;) It would be great If you provide some referenc