[Qt-interest] How to make a variable (primitive, object or pointer to something) thread safe ?

Patric userqt at gmail.com
Sun Aug 23 11:08:34 CEST 2009


Hi guys, 
is there a way to make a class member (primitive variable, an object or just a pointer) thread safe ? I know that QMutex is used to synchronize some code block, but is there any way to do it for a single variable ? 

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090823/cbcdd2be/attachment.html 


More information about the Qt-interest-old mailing list