On 07/09/2017 06:35 PM, Phil Bouchard wrote: > > I'm sure there is an equivalent in > Qt but I'll need some pointers to speed things up. I think QAtomicInt is the perfect replacement: http://doc.qt.io/qt-4.8/qatomicint.html#details -Phil