Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
sapi_checkpoint.h
Go to the documentation of this file.
1
47
48#ifndef SAPI_CHECKPOINT_H
49#define SAPI_CHECKPOINT_H
50
51#include <stdint.h>
52
57
58#ifdef __cplusplus
59extern "C" {
60#endif
61
69typedef struct
70{
75 uint32_t checkpoint_id;
76
82
86
98 sapi_watchdog_t watchdog;
100
138 const sapi_checkpoint_config_t *config);
139
140#ifdef __cplusplus
141}
142#endif
143
145
146#endif /* SAPI_CHECKPOINT_H */
sapi_status_t sapi_channel_checkpoint(sapi_voter_t *voter, const sapi_checkpoint_config_t *config)
Performs one bounded checkpoint rendezvous across every channel registered with a voter.
sapi_status_t
Common result/status codes.
Definition sapi_status.h:27
uint32_t sapi_duration_ms_t
Definition sapi_types.h:27
sapi_voter_storage_t sapi_voter_t
Opaque handle to a voter instance.
Definition sapi_voter.h:128
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstrac...
Common fixed-width types and the caller-owned-storage handle pattern used by every OAL service (see A...
N-way voting across registered sapi_channel_t links (2oo2/2oo3/NMR).
Watchdog mechanism for detecting system/task hang conditions.
Checkpoint configuration.
sapi_duration_ms_t max_delay_ms