Return to the CL Tips
Incrementing a Numeric Value Across Jobs by Bruce Vining
You probably won't need Compare and Swap (CMPSWP) often, but when you do, you'll appreciate its high level of performance.
http://www.mcpressonline.com/programming/cl/the-cl-corner-incrementing-a-numeric-value-across-jobs.html
The above link may require a free, or paid, registration to view the article.
[report a broken link by clicking here]