Boosting Performance with Atomic Operations in .NET 4

When you write concurrent code that has to make changes to shared variables, you might think that a mutual-exclusion lock is necessary to perform each update operation. In some cases, you can replace a mutual-exclusion lock with a more efficient atomic operation and you can boost both your application's performance and scalability.



August 23, 2010
URL:http://www.drdobbs.com/parallel/boosting-performance-with-atomic-operati/228800465

Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.