Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-10-19 12:34:35

Ion Gaztañaga:
> Peter Dimov escribió:
> > Last I looked at the various implementations, most of the routines did
> > not
> > provide these guarantees, though.
> Willing to help on these implementations? We also need to write our own
> versions to avoid license issues with the original Apache implementation
> (basically we need our implementation of gcc Intel & PowerPC asm
> versions).

There are various sp_counted_base implementations in boost/detail that can
be used as a starting point. But if you want help for the implementation,
you need to specify an interface first. I'm not particularly fond of

preferring something along the lines of

but no matter what (if any) style you choose to follow, you need to be
explicit about the constraints. At the very least, the functions should
contain the constraint as a suffix, i.e. atomic_add_acqrel instead of

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