Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


Hi,

On Fri, Nov 08, 2019 at 09:05:12AM +0100, Stephan Bergmann wrote:
Ah.  What I'd meant was something like

#if ...
using AtomicCounter = std::atomic<std::make_unsigned_t<std::sig_atomic_t>>;
static_assert(AtomicCounter::is_always_lock_free);
#else
using AtomicCounter = volatile std::make_unsigned_t<std::sig_atomic_t>;
#endif

OK. changed and updated in gerrit. Verified in a armel build on
abel.debian.org and in my local amd64 build.

Regards,

Rene


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.