Guardian Programmer's Guide

Table Of Contents
Fault-Tolerant Programming in C
Guardian Programmer’s Guide 421922-014
27 - 12
Updating State Information
The primary process sends state information to the backup process at various points
during execution. Meanwhile, the backup process enters a message-processing loop
in which it receives state information and failure messages. If no failure occurs, the
backup updates its memory with the state information and continues in the loop. If a
failure occurs, the backup takes over execution at the continuation point indicated by
the most recent state information.
This subsection describes what types of information are included in the state
information and gives guidelines for deciding specifically what information to update
and at what points in a program’s execution the information should be updated. The
Figure 27-2. Updating State Information
VST133.VSD