aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/lmdb/db_lmdb.h
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2021-09-19 21:12:27 +0100
committerHoward Chu <hyc@symas.com>2021-09-22 15:47:04 +0100
commit5f54dea4ec36bd2f7c2fab1ded7d20c7a07ff8f9 (patch)
treedd9273790c5253d37dfb26a4a2c54eec9d0cf1bb /src/blockchain_db/lmdb/db_lmdb.h
parentMerge pull request #7899 (diff)
downloadmonero-5f54dea4ec36bd2f7c2fab1ded7d20c7a07ff8f9.tar.xz
LMDB: fix deadlock in resized detection
Diffstat (limited to 'src/blockchain_db/lmdb/db_lmdb.h')
-rw-r--r--src/blockchain_db/lmdb/db_lmdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h
index 0e6d70039..d87bc6e49 100644
--- a/src/blockchain_db/lmdb/db_lmdb.h
+++ b/src/blockchain_db/lmdb/db_lmdb.h
@@ -154,6 +154,7 @@ struct mdb_txn_safe
static void prevent_new_txns();
static void wait_no_active_txns();
static void allow_new_txns();
+ static void increment_txns(int);
mdb_threadinfo* m_tinfo;
MDB_txn* m_txn;