|
Electroneum
|
#include <db_lmdb.h>

Public Member Functions | |
| mdb_txn_safe (const bool check=true) | |
| ~mdb_txn_safe () | |
| void | commit (std::string message="") |
| void | abort () |
| void | uncheck () |
| operator MDB_txn * () | |
| operator MDB_txn ** () | |
| uint64_t | num_active_tx () const |
Static Public Member Functions | |
| static void | prevent_new_txns () |
| static void | wait_no_active_txns () |
| static void | allow_new_txns () |
Public Attributes | |
| mdb_threadinfo * | m_tinfo |
| MDB_txn * | m_txn |
| bool | m_batch_txn = false |
| bool | m_check |
Static Public Attributes | |
| static std::atomic< uint64_t > | num_active_txns {0} |
| static std::atomic_flag | creation_gate = ATOMIC_FLAG_INIT |
Definition at line 407 of file db_lmdb.cpp.
| cryptonote::mdb_txn_safe::~mdb_txn_safe | ( | ) |
Definition at line 417 of file db_lmdb.cpp.

| void cryptonote::mdb_txn_safe::abort | ( | ) |
Definition at line 468 of file db_lmdb.cpp.


|
static |
Definition at line 497 of file db_lmdb.cpp.
| void cryptonote::mdb_txn_safe::commit | ( | std::string | message = "" | ) |
Definition at line 453 of file db_lmdb.cpp.


| uint64_t cryptonote::mdb_txn_safe::num_active_tx | ( | ) | const |
Definition at line 482 of file db_lmdb.cpp.
|
static |
Definition at line 487 of file db_lmdb.cpp.
| void cryptonote::mdb_txn_safe::uncheck | ( | ) |
Definition at line 447 of file db_lmdb.cpp.
|
static |
Definition at line 492 of file db_lmdb.cpp.
|
static |
| mdb_threadinfo* cryptonote::mdb_txn_safe::m_tinfo |
|
static |