txc_tx_s Struct Reference

#include <txdesc.h>

List of all members.

Public Attributes

unsigned int tid
unsigned int tid_pthread
int sentinelmgr_undo_action_registered
int sentinelmgr_commit_action_registered
int statsmgr_undo_action_registered
int statsmgr_commit_action_registered
int generic_undo_action_registered
int generic_commit_action_registered
txc_tx_abortreason_t abort_reason
unsigned int forced_retries
txc_tx_commit_action_list_tcommit_action_list
txc_tx_undo_action_list_tundo_action_list
txc_sentinel_list_tsentinel_list
txc_sentinel_list_tsentinel_list_preacquire
txc_buffer_linear_tbuffer_linear
txc_txmgr_tmanager
txc_tx_snext
txc_tx_sprev
txc_stats_txstat_ttxstat
txc_stats_threadstat_tthreadstat
int fm_flags
int * fm_error_result
txc_bool_t fm_abort


Detailed Description

Transaction descriptor.

Definition at line 23 of file txdesc.h.


Member Data Documentation

txc_tx_abortreason_t txc_tx_s::abort_reason

Indicates the reason the last transaction has been aborted.

Definition at line 32 of file txdesc.h.

txc_buffer_linear_t* txc_tx_s::buffer_linear

Private linear buffer.

Definition at line 38 of file txdesc.h.

Referenced by txc_txmgr_create(), txc_txmgr_destroy(), and x_socket().

txc_tx_commit_action_list_t* txc_tx_s::commit_action_list

List of undo actions to be executed after the transaction rollbacks.

Definition at line 34 of file txdesc.h.

Referenced by txc_tx_register_commit_action(), txc_txmgr_create(), and txc_txmgr_destroy().

txc_bool_t txc_tx_s::fm_abort

Indicates whether failure manager requested this transaction to abort.

Definition at line 46 of file txdesc.h.

Referenced by txc_fm_handle_undo_failure(), txc_fm_init(), and txc_fm_transaction_postbegin().

int* txc_tx_s::fm_error_result

Indicates asynchronous failure (undo or commit action failure).

Definition at line 45 of file txdesc.h.

Referenced by txc_fm_handle_commit_failure(), txc_fm_handle_undo_failure(), txc_fm_init(), and txc_fm_register().

int txc_tx_s::fm_flags

Failure manager flags.

Definition at line 44 of file txdesc.h.

Referenced by txc_fm_handle_undo_failure(), txc_fm_init(), and txc_fm_register().

unsigned int txc_tx_s::forced_retries

Number of times the transaction was forced to retry.

Definition at line 33 of file txdesc.h.

Referenced by txc_tx_get_forced_retries().

int txc_tx_s::generic_commit_action_registered

If set, then the generic transaction manager has registered its commit action with this transaction instance.

Definition at line 31 of file txdesc.h.

int txc_tx_s::generic_undo_action_registered

If set, then the generic transaction manager has registered its undo action with this transaction instance.

Definition at line 30 of file txdesc.h.

txc_txmgr_t* txc_tx_s::manager

Generic transaction manager responsible for this transaction descriptor.

Definition at line 39 of file txdesc.h.

Referenced by txc_tx_destroy(), txc_txmgr_create(), and txc_txmgr_destroy().

struct txc_tx_s* txc_tx_s::next

Next transaction descriptor in the list of descriptors.

Definition at line 40 of file txdesc.h.

Referenced by txc_tx_create(), txc_tx_destroy(), txc_tx_exists(), and txc_txmgr_print().

struct txc_tx_s* txc_tx_s::prev

Previous transaction descriptor in the list of descriptors.

Definition at line 41 of file txdesc.h.

Referenced by txc_tx_create(), txc_tx_destroy(), and txc_txmgr_print().

txc_sentinel_list_t* txc_tx_s::sentinel_list

List of sentinels the transaction has tried to acquired together with an indication of the acquisition's success/failure.

Definition at line 36 of file txdesc.h.

Referenced by txc_sentinel_enlist(), txc_sentinel_is_enlisted(), txc_sentinel_transaction_postbegin(), txc_txmgr_create(), and txc_txmgr_destroy().

txc_sentinel_list_t* txc_tx_s::sentinel_list_preacquire

List of sentinels to preacquire before transaction restarts.

Definition at line 37 of file txdesc.h.

Referenced by txc_txmgr_create(), and txc_txmgr_destroy().

int txc_tx_s::sentinelmgr_commit_action_registered

If set, then sentinel manager has registered its commit action with this transaction instance.

Definition at line 27 of file txdesc.h.

int txc_tx_s::sentinelmgr_undo_action_registered

If set, then sentinel manager has registered its undo action with this transaction instance.

Definition at line 26 of file txdesc.h.

int txc_tx_s::statsmgr_commit_action_registered

If set, then statistics manager has registered its commit action with this transaction instance.

Definition at line 29 of file txdesc.h.

int txc_tx_s::statsmgr_undo_action_registered

If set, then statistics manager has registered its undo action with this transaction instance.

Definition at line 28 of file txdesc.h.

txc_stats_threadstat_t* txc_tx_s::threadstat

Statistics collection.

Definition at line 43 of file txdesc.h.

unsigned int txc_tx_s::tid

Thread ID as assigned by the TM library.

Definition at line 24 of file txdesc.h.

Referenced by txc_tx_get_tid(), and txc_txmgr_print().

unsigned int txc_tx_s::tid_pthread

Thread ID as assigned by the Pthreads library.

Definition at line 25 of file txdesc.h.

Referenced by txc_tx_get_tid_pthread(), and txc_txmgr_print().

txc_stats_txstat_t* txc_tx_s::txstat

Transactional status (non-transactional, retryable, irrevocable)

Definition at line 42 of file txdesc.h.

Referenced by txc_stats_txstat_get(), and txc_stats_txstat_set().

txc_tx_undo_action_list_t* txc_tx_s::undo_action_list

List of commit actions to be executed after the transaction commits.

Definition at line 35 of file txdesc.h.

Referenced by txc_tx_register_undo_action(), txc_txmgr_create(), and txc_txmgr_destroy().


The documentation for this struct was generated from the following file:
Generated on Wed Dec 9 20:32:41 2009 for xCalls by  doxygen 1.4.7