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
portable
> > atomic_t though.
>
> I admit we got bogged down in trivia. I think the main point is to
provide
> an atomic counter that has enough features to be useful, but not so
many
> 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
signatures.)

Bill Kempf


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk