LMDB
|
▼LMDB API | OpenLDAP Lightning Memory-Mapped Database Manager |
Version Macros | |
Environment Flags | |
Database Flags | |
▼Write Flags | |
▼Copy Flags | |
Return Codes | BerkeleyDB uses -30800 to -30999, we'll go under them |
▼LMDB Internals | |
ID List Management | |
Compatibility Macros | A bunch of macros to minimize the amount of platform-specific ifdefs needed throughout the rest of the code. When the features this library needs are similar enough to POSIX to be hidden in a one-or-two line replacement, this macro approach is used |
Debug Macros | |
Reader Lock Table | Readers don't acquire any locks for their data access. Instead, they simply record their transaction ID in the reader table. The reader mutex is needed just to find an empty slot in the reader table. The slot's address is saved in thread-specific data so that subsequent read transactions started by the same thread need no further locking to proceed |
Page Flags | |
Node Flags | |
Transaction DB Flags | |
Transaction Flags | |
Cursor Flags |