#include <misc/result.h>
#include <misc/malloc.h>
#include <misc/debug.h>
#include <misc/mutex.h>
#include <misc/generic_types.h>
#include <core/config.h>
#include <core/fm.h>
#include <core/tx.h>
#include <core/txdesc.h>
Go to the source code of this file.
Functions | |
void | txc_fm_init (txc_tx_t *txd) |
void | txc_fm_register (txc_tx_t *txd, int flags, int *error_result) |
void | txc_fm_transaction_postbegin (txc_tx_t *txd) |
void | txc_fm_handle_commit_failure (txc_tx_t *txd, int error_result) |
void | txc_fm_handle_undo_failure (txc_tx_t *txd, int error_result) |
This subsystem informs programs when a compensating or deferred action fails. It exposes an interface to applications to specify an action to take or a variable to set when an asynchronous failure (one during commit or abort) occurs. For example, the program may specify that the transaction should not be retried if a compensating action fails by calling the manager with the X NO RETRY flag.
Definition in file fm.c.