[Development] QAtomicInteger default implementations

Marc Mutz marc.mutz at kdab.com
Tue Jun 23 19:07:12 CEST 2015


On Tuesday 23 June 2015 15:12:36 Mike Krus wrote:
> Hi
> 
> while investigating crashes in QAtomicInteger<quint64> on iOS, I was
> wondering why the default is not the use the C++11 implementation if it’s
> available? In particular, in qbasicatomic.h, the asm-based implementations
> are preferred for all arm platforms (and others). Shouldn’t the version
> using std::atomic be preferred?

Doing so would be binary incompatible. (Contested) rationale here: 
https://codereview.qt-project.org/103848 

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt Experts



More information about the Development mailing list