Constant lmdb::NO_LOCK
[−]
pub const NO_LOCK: EnvironmentFlags=
EnvironmentFlags{bits: MDB_NOLOCK,}
Do not do any locking. If concurrent access is anticipated, the caller must manage all concurrency themself. For proper operation the caller must enforce single-writer semantics, and must ensure that no readers are using old transactions while a writer is active. The simplest approach is to use an exclusive lock so that no readers may be active at all when a writer begins.