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

Method fetch_sub

src/fl/stl/atomic.h:164–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 }
163
164 T fetch_sub(T value) FL_NOEXCEPT {
165 T old = mValue;
166 T temp = old - value;
167 mValue = temp;
168 return old;
169 }
170
171 T fetch_and(T value) FL_NOEXCEPT {
172 T old = mValue;

Callers 4

FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
on_freeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected