QAtomicInt Class

The QAtomicInt class provides platform-independent atomic operations on int. More...

Header: #include <QAtomicInt>
qmake: QT += core
Since: Qt 4.4
Inherits: QAtomicInteger

Public Functions

QAtomicInt(int value = 0)

Additional Inherited Members

Detailed Description

The QAtomicInt class provides platform-independent atomic operations on int.

This class is a equivalent to QAtomicInteger<int>. All other functionality is equivalent. Please see that class for more information.

See also QAtomicInteger and QAtomicPointer.

Member Function Documentation

QAtomicInt::QAtomicInt(int value = 0)

Constructs a QAtomicInt with the given value.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qatomicint.html