Home | History | Annotate | Download | only in base

Lines Matching defs:Atomic

21 #include <atomic>
32 class PACKED(sizeof(T)) Atomic : public std::atomic<T> {
34 Atomic<T>() : std::atomic<T>(T()) { }
36 explicit Atomic<T>(T value) : std::atomic<T>(value) { }
103 // Participates in total ordering of atomic operations. Returns true on success, false otherwise.
111 // Participates in total ordering of atomic operations. Returns true on success, false otherwise.
119 // Participates in total ordering of atomic operations. Returns true on success, false otherwise.
127 // Participates in total ordering of atomic operations.
238 typedef Atomic<int32_t> AtomicInteger;
243 static_assert(sizeof(Atomic<int64_t>) == sizeof(int64_t), "Weird Atomic<int64> size");
249 static_assert(alignof(Atomic<int64_t>) == alignof(int64_t),
250 "Atomic<int64> alignment differs from that of underlying type");