Apps     Components     Interfaces     All Files     Source Tree     source: tos.system.ServiceSchedulerM.nc

Component: ServiceSchedulerM

Required Interfaces

Provided Interfaces

Variables

Function Index

Function Descriptions

SchedulerClt.init

command result_t SchedulerClt.init (void)

Initialize the service scheduler. It boils down to initializing the scheduling queue and the service scheduling info. All services are initialized in the DISABLED state.

SchedulerClt.start

command result_t SchedulerClt.start (void)

Start the service scheduler. Note that this is not at all synonymous with starting the subordinate services. Instead, if there are runnable serivces ready to be scheduled, this will fire off the timer.