Before you begin: You must use this procedure to ensure recovery for the Latch_Obtain and Latch_Release functions. Not following this exact procedure can risk the loss of serialization during recovery.
In the Program mainline example, which follows this procedure, the mainline program performs the following tasks: