MCPcopy Create free account
hub / github.com/FastLED/FastLED / fetch_add

Method fetch_add

src/fl/stl/atomic.h:157–162  ·  view source on GitHub ↗

Fetch operations

Source from the content-addressed store, hash-verified

155
156 // Fetch operations
157 T fetch_add(T value) FL_NOEXCEPT {
158 T old = mValue;
159 T temp = old + value;
160 mValue = temp;
161 return old;
162 }
163
164 T fetch_sub(T value) FL_NOEXCEPT {
165 T old = mValue;

Callers 13

next_task_idFunction · 0.45
add_taskMethod · 0.45
nextIdMethod · 0.45
nextIdMethod · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
on_mallocMethod · 0.45
on_freeMethod · 0.45
FL_TEST_FILEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected