[Interest] Terminating a QThread

Thiago Macieira thiago.macieira at intel.com
Sat Jun 22 05:59:20 CEST 2013


On sábado, 22 de junho de 2013 12.41.10, Tony Rietwyk wrote:
> But a bool value can be cached indefinitely, so make sure you declare the
> flag as volatile!  

That's wrong and has been explained away several times. You need to declare it 
as atomic, not as volatile.

-- 
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/interest/attachments/20130621/41b62e75/attachment.sig>


More information about the Interest mailing list