QAtomicInt Class

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

Header: #include <QAtomicInt>

Public Functions

QAtomicInt(int value = 0)

Detailed Description

\inmoduleQtCore

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

[constexpr noexcept] QAtomicInt::QAtomicInt(int value = 0)

Constructs a QAtomicInt with the given value.