ocean.task.Scheduler

This module provides the standard task scheduler and a singleton object instance of it. The developer must call the initScheduler function to get the singleton into a usable state.

Usage example: See the documented unittest of the Scheduler class

Members

Aliases

SchedulerConfiguration
alias SchedulerConfiguration = IScheduler.Configuration
Undocumented in source.
SchedulerStats
alias SchedulerStats = IScheduler.Stats
Undocumented in source.
TaskQueueFullException
alias TaskQueueFullException = ocean.task.IScheduler.TaskQueueFullException
Undocumented in source.

Classes

Scheduler
class Scheduler

Implementation of the IScheduler API

Functions

initScheduler
void initScheduler(SchedulerConfiguration config, EpollSelectDispatcher epoll)

Creates or re-creates the scheduler instance.

isSchedulerUsed
bool isSchedulerUsed()
theScheduler
Scheduler theScheduler()

Singleton scheduler instance.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).