adapnex::core::Application::CyclicTaskGroupConfig

Configuration for a cyclic task group.

Synopsis

Declared in <adapnex/core/application.h>

struct CyclicTaskGroupConfig;

Data Members

Name

Description

period

The cycle period (time).

priority

The task group priority.

watchdog_handler

Invoked the first time the execution watchdog trips, after which the task group runs no further cycles. Defaults to reporting the event and terminating the application. A handler that returns decides what happens next. Ignored unless the watchdog is enabled.

watchdog_sensitivity

Execution watchdog sensitivity, expressed as a number of cycles. The watchdog terminates the application when this many consecutive cycles overrun the watchdog time, when a single cycle does not complete within this many watchdog times, or when the task group stops running cycles altogether. A sensitivity of zero behaves as one.

watchdog_time

Execution watchdog time, which must be positive. A cycle that takes longer than this to complete counts as an overrun. Defaults to the cycle period. Setting either of watchdog_time and watchdog_sensitivity enables the watchdog.

Created with MrDocs