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

◆ next_task_id()

int fl::task::anonymous_namespace{task.cpp.hpp}::next_task_id ( )

Definition at line 22 of file task.cpp.hpp.

22 {
23 static fl::atomic<int> id(0); // okay static in header
24 return id.fetch_add(1) + 1;
25}
AtomicFake< T > atomic
Definition atomic.h:26

References next_task_id().

Referenced by next_task_id().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: