Constant lmdb::NO_TLS
[−]
pub const NO_TLS: EnvironmentFlags=
EnvironmentFlags{bits: MDB_NOTLS,}
Don't use thread-local storage. Tie reader locktable slots to transaction objects
instead of to threads. I.e. RoTransaction::reset
keeps the slot reserved for the
transaction object. A thread may use parallel read-only transactions. A read-only
transaction may span threads if the user synchronizes its use. Applications that
multiplex many the user synchronizes its use. Applications that multiplex many user
threads over individual OS threads need this option. Such an application must also
serialize the write transactions in an OS thread, since LMDB's write locking is
unaware of the user threads.