Subject: Re: [boost] Boost.Atomic request for review/inclusion
From: Ronny Spiegel (ronny.spiegel_at_[hidden])
Date: 2010-01-29 09:08:22


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