Definition at line 74 of file scheduler.cpp.hpp.
74 {
76
77
78 for (fl::size i = 0; i <
mTasks.size();) {
80
81 if (!
t.is_valid() ||
t._is_canceled()) {
82
84
85 }
else if (
t._type() == task_type) {
86
87 bool should_run =
t._ready_to_run_frame_task(current_time);
88
89 if (should_run) {
90
91 t._set_last_run_time(current_time);
92
93
96 } else {
98 }
99
100
102
103 } else {
104 ++i;
105 }
106 } else {
107 ++i;
108 }
109 }
110}
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::millis(), mTasks, fl::t, and warn_no_then().
Referenced by update_after_frame_tasks(), and update_before_frame_tasks().