Closed dymk closed 7 years ago
Adds AtomicReference<T>, which provides the following methods:
AtomicReference<T>
Reference<T> load()
Reference<T> exchange(Reference<T>)
void store(Reference<T>)
T* operator->()
operator bool()
Adds
AtomicReference<T>
, which provides the following methods:Reference<T> load()
atomically loads the ReferenceReference<T> exchange(Reference<T>)
atomically exchanges Referencesvoid store(Reference<T>)
atomically stores the ReferenceT* operator->()
same as Referenceoperator bool()
same as Reference