FastLED 3.10.8
Loading...
Searching...
No Matches

◆ total_active_tasks()

size_t fl::task::Executor::total_active_tasks ( ) const

Get total number of active tasks across all runners.

Definition at line 64 of file executor.cpp.hpp.

64 {
65 size_t total = 0;
66 for (const auto* r : mRunners) {
67 if (r) {
68 total += r->active_task_count();
69 }
70 }
71 return total;
72}
fl::vector< Runner * > mRunners
Definition executor.h:121

References fl::FL_NO_EXCEPT, and mRunners.

Referenced by fl::task::active_tasks().

+ Here is the caller graph for this function: