|
Zero
0.1.0
|
Iterator over transaction list. More...
#include <xct.h>
Public Member Functions | |
| bool | locked_by_me () const |
| True if this thread holds the transaction list mutex. More... | |
| void | never_mind () |
| Release transaction list mutex if this thread holds it. More... | |
| xct_t * | curr () const |
| Get transaction at cursor. More... | |
| xct_t * | next () |
| Advance cursor. More... | |
| xct_i (bool locked_accesses) | |
| Constructor. More... | |
| ~xct_i () | |
| Desctructor. Calls never_mind() if necessary. More... | |
Private Member Functions | |
| void | _check (bool b) const |
| xct_i (const xct_i &) | |
| xct_i & | operator= (const xct_i &) |
Private Attributes | |
| const bool | _locked |
| const bool | _may_check |
| w_list_i< xct_t, queue_based_lock_t > | unsafe_iterator |
Iterator over transaction list.
This is exposed for the purpose of coping with out-of-log-space conditions. See SSMLOG.
|
inline |
Constructor.
skip
| [in] | locked_accesses | Set to true if you want this iterator to be safe, false if you don't care or if you already hold the transaction-list mutex. |
|
inline |
Desctructor. Calls never_mind() if necessary.
|
private |
|
inlineprivate |
|
inline |
Get transaction at cursor.
|
inline |
True if this thread holds the transaction list mutex.
|
inline |
Release transaction list mutex if this thread holds it.
|
inline |
Advance cursor.
|
private |
|
private |
|
private |
1.8.12