[Development] QAtomicInteger default implementations

Mike Krus mike.krus at kdab.com
Tue Jun 23 15:12:36 CEST 2015


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?

Cheers,

Mike

--
Mike Krus | mike.krus at kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company
Tel: UK +44-1625-809908
KDAB - The Qt Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3859 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150623/1177f8ef/attachment.bin>


More information about the Development mailing list