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

Method wait

src/platforms/shared/channel_poll_signal.h:22–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 void notify() FL_NOEXCEPT { mPending.store(true); }
21
22 bool wait(fl::u32 timeoutMs) FL_NOEXCEPT {
23 (void)timeoutMs;
24 return mPending.exchange(false);
25 }
26
27 private:
28 fl::atomic_bool mPending;

Callers

nothing calls this directly

Calls 1

exchangeMethod · 0.45

Tested by

no test coverage detected