
29 Jan
2010
29 Jan
'10
2:08 p.m.
Hi, I was looking for some kind of atomic counter which is able to deal with 64 bit values on 32/64 bit machines. I was just wondering if this could be done with this library on Windows (yes, I know). As far as I can see it uses the InterlockedIncrement() API methods internally. But for 64 bit values you have to use InterlockedIncrement64(). Has anyone of you tried this? Ronny