FastLED 3.9.15
Loading...
Searching...
No Matches

◆ thread

using fl::thread = fl::platforms::thread

Thread abstraction for FastLED.

This is a platform-independent thread wrapper that delegates to:

  • fl::platforms::thread (std::thread wrapper) on multithreaded platforms
  • fl::platforms::ThreadFake (synchronous execution) on single-threaded platforms

Usage:

fl::thread t([]() {
// Thread work here
});
t.join();
static uint32_t t
Definition Luminova.h:55
fl::platforms::thread thread
Thread abstraction for FastLED.
Definition thread.h:31

Definition at line 31 of file thread.h.