Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FirebirdSQL/firebird
/ exchangeAdd
Method
exchangeAdd
src/common/classes/fb_atomic.h:52–55 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
counter_type value() const { return counter.load(std::memory_order_acquire); }
51
52
counter_type exchangeAdd(counter_type value)
53
{
54
return counter.fetch_add(value);
55
}
56
57
void setValue(counter_type val)
58
{
Callers
8
verbRecs
Method · 0.80
duplicate_key
Function · 0.80
tryBeginRead
Method · 0.80
tryBeginWrite
Method · 0.80
endWrite
Method · 0.80
endRead
Method · 0.80
increment_usage
Method · 0.80
increment_mapping
Method · 0.80
Calls
1
fetch_add
Method · 0.45
Tested by
no test coverage detected