From dcccd8a89aebb10e437fb013dd0a46ed943b6abc Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 8 Dec 2014 03:21:09 +0000 Subject: [PATCH] Clarify mdb_dbi_open doc The concurrency restriction is on threads within a single process. Multiple processes can use mdb_dbi_open without affecting each other. --- libraries/liblmdb/lmdb.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index bdbb0b9..d692b17 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -1025,9 +1025,9 @@ int mdb_txn_renew(MDB_txn *txn); * After a successful commit the * handle will reside in the shared environment, and may be used * by other transactions. This function must not be called from - * multiple concurrent transactions. A transaction that uses this function - * must finish (either commit or abort) before any other transaction may - * use this function. + * multiple concurrent transactions in the same process. A transaction + * that uses this function must finish (either commit or abort) before + * any other transaction in the process may use this function. * * To use named databases (with name != NULL), #mdb_env_set_maxdbs() * must be called before opening the environment. Database names