Boost logo

Boost :

Subject: Re: [boost] [atomic] building with --layout=system, mingw, bug #7482
From: Tim Blechmann (tim_at_[hidden])
Date: 2013-01-04 06:32:38


hi andrey,

>> > i need some help with resolving issue #7482: for some reason it seems to
>> > build a static libboost_atomic, although it has to be a shared library.
> It can be built either way, depending on what the user requests.

well, it *can* be built as static library, but the library should be
shared to ensure that the same spinlock pool is used if multiple
libraries link to libboost_atomic. otherwise the blocking emulation of
atomics is not correct, if the same atomic<> object is accessed from
different shared libraries ...

cheers, tim


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