Boost logo

Boost :

From: William Kempf (sirwillard_at_[hidden])
Date: 2000-08-31 15:19:30

--- In boost_at_[hidden], "Bill Wade" <bill.wade_at_s...> wrote:
> > From: William Kempf [mailto:sirwillard_at_m...]
> > I'm not
> > at all sure that any of this applies to the discussion of a
> > atomic_t though.
> I admit we got bogged down in trivia. I think the main point is to
> an atomic counter that has enough features to be useful, but not so
> features that it won't be fast.

Agreed. You aren't suggesting that exchange is not useful, however,
are you? It's really the only portable way to read/write an atomic_t
value. (I'm not distinguishing exchange() from get()/set() because
they are equivalent functionality with different interface

Bill Kempf

Boost list run by bdawes at, gregod at, cpdaniel at, john at