[Interest] reference counting

René J.V. Bertin rjvbertin at gmail.com
Sun Nov 16 19:58:01 CET 2014


On Sunday November 16 2014 18:46:50 Sean Harmer wrote:

> An atomic integer is used. See for e.g. QVector which uses QArrayData which in 
> turn uses QtPrivate::RefCount which in turn uses QBasicAtomicInt.

Good, I was actually hoping to hear that :)
(I was arguing to do the same for KDE's global reference counting that used a simple int ... and can cause the app to quit when the counter reaches 0 ...)

Cheers,
René
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141116/2ef00fdd/attachment.html>


More information about the Interest mailing list