On 20 March 2012 06:51, Tamar Fraenkel <ta...@tok-media.com> wrote:

> But the increment is thread safe right? if I have two threads trying to 
> increment a counter, then they won't step on each other toe?

That's right - you can have many threads incrementing the same counter
and it's safe.  But reading and incrementing is unsafe.

Richard.

--
Richard Low
Acunu | http://www.acunu.com | @acunu

Reply via email to