MCPcopy Create free account
hub / github.com/apache/impala / Store

Method Store

be/src/common/atomic.h:137–137  ·  view source on GitHub ↗

Atomic store with "release" memory-ordering semantic.

Source from the content-addressed store, hash-verified

135
136 /// Atomic store with "release" memory-ordering semantic.
137 ALWAYS_INLINE void Store(T* val) { ptr_.Store(reinterpret_cast<intptr_t>(val)); }
138
139 /// Store 'new_val' and return the previous value. Implies a Release memory barrier
140 /// (i.e. the same as Store()).

Callers

nothing calls this directly

Calls 1

StoreMethod · 0.45

Tested by

no test coverage detected