Closed Icenowy closed 4 weeks ago
The behavior of atomic_int64_t's default constructor will leave it to an uninitialized state (accessing it will be undefined behavior).
Use 0 to explicitly initialize it because it will be soon compared and exchanged.
The behavior of atomic_int64_t's default constructor will leave it to an uninitialized state (accessing it will be undefined behavior).
Use 0 to explicitly initialize it because it will be soon compared and exchanged.