0
kicks
C#/.NET Little Wonders: Interlocked CompareExchange()
This week, we’ll round out the discussion by talking about the Interlocked CompareExchange() method and how it can be put to use to exchange a value if the current value is what you expected it to be.