MCPcopy 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

verbRecsMethod · 0.80
duplicate_keyFunction · 0.80
tryBeginReadMethod · 0.80
tryBeginWriteMethod · 0.80
endWriteMethod · 0.80
endReadMethod · 0.80
increment_usageMethod · 0.80
increment_mappingMethod · 0.80

Calls 1

fetch_addMethod · 0.45

Tested by

no test coverage detected