Definition at line 24 of file scheduler.cpp.hpp.
24 {
26
27
28 for (fl::size i = 0; i <
mTasks.size();) {
30
31 if (!
t.is_valid() ||
t._is_canceled()) {
32
34
35 } else {
36
37 bool should_run =
t._ready_to_run(current_time);
38
39 if (should_run) {
40
41 t._set_last_run_time(current_time);
42
43
46 } else {
48 }
49
50
52 if (is_recurring) {
53 ++i;
54 } else {
55
57
58 }
59 } else {
60 ++i;
61 }
62 }
63 }
64}
void warn_no_then(int task_id, const fl::string &trace_label)
fl::vector< Handle > mTasks
fl::u32 millis()
Universal millisecond timer - returns milliseconds since system startup.
References fl::task::kAtFramerate, fl::task::kEveryMs, fl::millis(), mTasks, fl::t, and warn_no_then().
Referenced by fl::FxEngine::draw(), and fl::task::run().