MayaFlux
0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
◆
terminate_all_tasks()
void MayaFlux::Vruta::TaskScheduler::terminate_all_tasks
(
)
Terminate and clear all tasks.
Definition at line
339
of file
Scheduler.cpp
.
340
{
341
for
(
auto
& entry :
m_tasks
) {
342
if
(entry.routine && entry.routine->is_active()) {
343
entry.routine->set_should_terminate(
true
);
344
entry.routine->set_auto_resume(
true
);
345
}
346
}
347
348
std::this_thread::sleep_for(std::chrono::milliseconds(10));
349
350
m_tasks
.clear();
351
}
MayaFlux::Vruta::TaskScheduler::m_tasks
std::vector< TaskEntry > m_tasks
Definition
Scheduler.hpp:434
References
m_tasks
.
MayaFlux
Vruta
TaskScheduler
Generated by
1.9.8