[Development] Deprecating & removing the old atomics

Thiago Macieira thiago.macieira at intel.com
Thu Dec 20 00:00:41 CET 2012


Qt 5.0 contains a new set of atomics code, based on QAtomicOps. The code is 
cleaner and contains already some new features, like QAtomicInteger<unsigned> 
on all platforms, plus other sizes on specific platforms.

I'd like to propose the following:
 - Qt 5.1 deprecates the old atomic code and their platforms
 - Qt 5.2 *removes* the code that doesn't get updated

Currently, the platforms affected are:
 - Integrity
 - VxWorks
 - Alpha
 - Blackfin
 - POWER and PowerPC
 - S/390
 - SH-4a

This gives the people concerned about those platforms about a year to rewrite 
their atomic code. It should take about a day to do that for someone who knows 
assembly and has access to those environments to ensure that it compiles.

Note that there are two fallback implementations that those platforms above 
may use: C++11 std::atomic and GCC's intrinsics. So it's not like we're 
leaving them completely dry.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121219/54039b30/attachment.sig>

More information about the Development mailing list