AtomicBoolean

Thread-safe boolean with atomic operations.

Declared in src/libs/libutil/utility/concurrent/AtomicBoolean.hpp
Group util

Detailed description

AtomicBoolean provides a simple wrapper around atomic bool for thread-safe flag operations without explicit locking. It stores the flag in a QAtomicInteger<int> as 0 or 1.

In this section