3
Shouts

C#/.NET Little Wonders: Interlocked Read() and Exchange()

published 264 days, 20 hours, 40 minutes ago posted by BlackRabbitCoderBlackRabbitCoder 270 days, 17 hours, 28 minutes ago
Thursday, August 30, 2012 11:15:56 AM GMT Friday, August 24, 2012 2:27:37 PM GMT

In my previous post, we looked at incrementing and decrementing an int or long atomically using the Interlocked class, this post continues with other features of Interlocked by discussing Read() and Exchange() for reading and writing atomically in a light, thread-safe manner.

category: Web Dev | clicked: 16 | | source: www.blackrabbitcoder.net | show counter code
tags:

1 comment posted.

To post your comment please login or signup