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

Function IncrementThread

be/src/common/atomic-test.cc:71–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69
70template<typename T>
71static void IncrementThread(int64_t id, int64_t n, AtomicInt<T>* ai) {
72 for (int64_t i = 0; i < n * id; ++i) {
73 ai->Add(1);
74 }
75}
76
77template<typename T>
78static void DecrementThread(int64_t id, int64_t n, AtomicInt<T>* ai) {

Callers

nothing calls this directly

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected