Boost logo

Boost :

Subject: Re: [boost] Fw: [atomic] review results
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-11-08 06:19:22


Andrey Semashev wrote:

> 1. If boost::atomic<> doesn't support multi-module applications, that is
> it
> silently works incorrectly in such environments, sould it really support
> these
> platforms?

"Doesn't support multi-module applications" is not the same as not
supporting sharing an atomic between DLLs. Many multi-module applications
will never need to do that. I can't think of an example that isn't either
contrived or a bad idea.

> 2. If (1) is true then boost::atomic<> usefullness is greatly reduced.

I wouldn't say so.


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