AtomicCounter::is_always_lock_free on armel

Rene Engelhard rene at debian.org
Sat Nov 9 11:52:00 UTC 2019


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
> 


More information about the LibreOffice mailing list