[Development] Container refactor update
Thiago Macieira
thiago.macieira at intel.com
Tue Jun 19 10:20:50 CEST 2012
On terça-feira, 19 de junho de 2012 10.07.36, Peter Kümmel wrote:
> BTW, are there any plans to use lock-free techniques somewhere within Qt?
>
> Or have you already evaluated it? The lock-free strategy looks a bit
> like transactional memory: try it until it is right.
Morten wrote one implementation a few years ago.
One of the big problems with lock-free is to ensure no ABA problems, and that
requires a bit better control of the atomics than QBasicAtomic provides. In
particular, it requires a weak mode for LL/SC architectures and it requires a
double-pointer atomic for non-LL/SC architectures.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- 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/20120619/3a7332ad/attachment.sig>
More information about the Development
mailing list