reactor-c 1.0
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
watchdog.h File Reference

Declarations for watchdogs. More...

#include "lf_types.h"
#include "environment.h"
#include "platform.h"

Go to the source code of this file.

Data Structures

struct  watchdog_t
 Typdef for watchdog_t struct, used to call watchdog handler. More...

Typedefs

typedef void(* watchdog_function_t) (void *)
 Watchdog function type.
typedef struct watchdog_t watchdog_t
 Typdef for watchdog_t struct, used to call watchdog handler.

Functions

void _lf_initialize_watchdogs (environment_t *env)
 Function to initialize mutexes for watchdogs.
void _lf_watchdog_terminate_all (environment_t *env)
 Terminates all watchdogs inside the environment.
void lf_watchdog_start (watchdog_t *watchdog, interval_t additional_timeout)
 Start or restart the watchdog timer.
void lf_watchdog_stop (watchdog_t *watchdog)
 Stop the specified watchdog without invoking the expiration handler.

Detailed Description

Declarations for watchdogs.

Author
Benjamin Asch
Edward A. Lee