txc_sentinel_s Struct Reference

List of all members.

Public Attributes

txc_mutex_t sentinel_mutex
txc_mutex_t synch_mutex
int id
int refcnt
txc_tx_towner
txc_sentinelmgr_tmanager

Detailed Description

Sentinel.

Definition at line 110 of file sentinel.c.


Member Data Documentation

int txc_sentinel_s::id

Sentinel identifier used to acquire sentinels in order to prevent deadlock.

Definition at line 113 of file sentinel.c.

Referenced by txc_sentinel_tryacquire(), and txc_sentinelmgr_create().

txc_sentinelmgr_t* txc_sentinel_s::manager

Sentinel manager responsible for the sentinel.

Definition at line 116 of file sentinel.c.

Referenced by txc_sentinelmgr_create().

txc_tx_t* txc_sentinel_s::owner

Transaction holding the sentinel.

Definition at line 115 of file sentinel.c.

Referenced by txc_sentinel_owner(), txc_sentinel_tryacquire(), and txc_sentinelmgr_create().

int txc_sentinel_s::refcnt

Reference counter counting entities logically attached to the sentinel.

Definition at line 114 of file sentinel.c.

Referenced by txc_koa_create().

txc_mutex_t txc_sentinel_s::sentinel_mutex

The actual lock backing the sentinel.

Definition at line 111 of file sentinel.c.

Referenced by txc_sentinel_tryacquire(), and txc_sentinelmgr_create().

txc_mutex_t txc_sentinel_s::synch_mutex

The latch that synchronizes metadata updates.

Definition at line 112 of file sentinel.c.

Referenced by txc_sentinel_destroy(), txc_sentinel_detach(), txc_sentinel_enlist(), txc_sentinel_tryacquire(), and txc_sentinelmgr_create().


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