MayaFlux 0.1.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 289 of file Scheduler.cpp.

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

References m_tasks.

Referenced by process_all_tokens(), and process_token().

+ Here is the caller graph for this function: