FastLED 3.9.15
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 63 of file executor.cpp.hpp.

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

References mRunners.

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

+ Here is the caller graph for this function: