MayaFlux 0.2.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 291 of file Scheduler.cpp.

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

References m_tasks.

Referenced by process_all_tokens(), and process_token().

+ Here is the caller graph for this function: