|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Vruta::TaskScheduler::cancel_task | ( | std::shared_ptr< Routine > | task | ) |
Cancels and removes a task from the scheduler.
| task | Shared pointer to the task to cancel |
This method removes a task from the scheduler, preventing it from executing further. It's used to stop tasks that are no longer needed or to clean up before shutting down the engine.
Definition at line 60 of file Scheduler.cpp.
References find_task_by_routine(), and m_tasks.
Referenced by MayaFlux::Kriya::Timer::cancel().
Here is the call graph for this function:
Here is the caller graph for this function: