MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ cleanup_completed_tasks()

void MayaFlux::Vruta::TaskScheduler::cleanup_completed_tasks ( )
private

Clean up completed tasks in a domain.

Definition at line 287 of file Scheduler.cpp.

288{
289 m_tasks.erase(
290 std::remove_if(m_tasks.begin(), m_tasks.end(),
291 [](const TaskEntry& entry) {
292 return !entry.routine || !entry.routine->is_active();
293 }),
294 m_tasks.end());
295}
std::vector< TaskEntry > m_tasks

References m_tasks.

Referenced by process_all_tokens(), and process_token().

+ Here is the caller graph for this function: