Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
src_corelib_thread_qatomic.cpp File Reference

(c1889bd953892428a474822168c10a4f983fb3ae)

#include <QAtomicInt>
Include dependency graph for src_corelib_thread_qatomic.cpp:

Go to the source code of this file.

Classes

struct  Data
struct  MySharedType

Functions

bool examples (int currentValue, int expectedValue, int newValue)
 [0]
int wrapInFunction (int currentValue, int newValue, int valueToAdd)
template<typename T>
T * wrapInTFunction (T *currentValue, T *newValue, T valueToAdd)

Function Documentation

◆ examples()

bool examples ( int currentValue,
int expectedValue,
int newValue )

[0]

[1]

[1]

[4]

[4]

Definition at line 31 of file src_corelib_thread_qatomic.cpp.

◆ wrapInFunction()

int wrapInFunction ( int currentValue,
int newValue,
int valueToAdd )

[2]

[2]

[3]

[3]

Definition at line 54 of file src_corelib_thread_qatomic.cpp.

◆ wrapInTFunction()

template<typename T>
T * wrapInTFunction ( T * currentValue,
T * newValue,
T valueToAdd )

[5]

[5]

[6]

[6]

Definition at line 75 of file src_corelib_thread_qatomic.cpp.