Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/impala
/ DecrementThread
Function
DecrementThread
be/src/common/atomic-test.cc:78–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
77
template<typename T>
78
static void DecrementThread(int64_t id, int64_t n, AtomicInt<T>* ai) {
79
for (int64_t i = 0; i < n * id; ++i) {
80
ai->Add(-1);
81
}
82
}
83
84
template<typename T>
85
static void TestMultipleThreadsIncDec() {
Callers
nothing calls this directly
Calls
1
Add
Method · 0.45
Tested by
no test coverage detected