NCBI C++ ToolKit
Macros
Environment Flags
+ Collaboration diagram for Environment Flags:

Macros

#define MDB_FIXEDMAP   0x01
 mmap at a fixed address (experimental) More...
 
#define MDB_FIXEDMAP   0x01
 mmap at a fixed address (experimental) More...
 
#define MDB_NOSUBDIR   0x4000
 no environment directory More...
 
#define MDB_NOSUBDIR   0x4000
 no environment directory More...
 
#define MDB_NOSYNC   0x10000
 don't fsync after commit More...
 
#define MDB_NOSYNC   0x10000
 don't fsync after commit More...
 
#define MDB_RDONLY   0x20000
 read only More...
 
#define MDB_RDONLY   0x20000
 read only More...
 
#define MDB_NOMETASYNC   0x40000
 don't fsync metapage after commit More...
 
#define MDB_NOMETASYNC   0x40000
 don't fsync metapage after commit More...
 
#define MDB_WRITEMAP   0x80000
 use writable mmap More...
 
#define MDB_WRITEMAP   0x80000
 use writable mmap More...
 
#define MDB_MAPASYNC   0x100000
 use asynchronous msync when MDB_WRITEMAP is used More...
 
#define MDB_MAPASYNC   0x100000
 use asynchronous msync when MDB_WRITEMAP is used More...
 
#define MDB_NOTLS   0x200000
 tie reader locktable slots to MDB_txn objects instead of to threads More...
 
#define MDB_NOTLS   0x200000
 tie reader locktable slots to MDB_txn objects instead of to threads More...
 
#define MDB_NOLOCK   0x400000
 don't do any locking, caller must manage their own locks More...
 
#define MDB_NOLOCK   0x400000
 don't do any locking, caller must manage their own locks More...
 
#define MDB_NORDAHEAD   0x800000
 don't do readahead (no effect on Windows) More...
 
#define MDB_NORDAHEAD   0x800000
 don't do readahead (no effect on Windows) More...
 
#define MDB_NOMEMINIT   0x1000000
 don't initialize malloc'd memory before writing to datafile More...
 
#define MDB_NOMEMINIT   0x1000000
 don't initialize malloc'd memory before writing to datafile More...
 

Detailed Description

Macro Definition Documentation

◆ MDB_FIXEDMAP [1/2]

#define MDB_FIXEDMAP   0x01

mmap at a fixed address (experimental)

Definition at line 285 of file lmdb.h.

◆ MDB_FIXEDMAP [2/2]

#define MDB_FIXEDMAP   0x01

mmap at a fixed address (experimental)

Definition at line 285 of file lmdb.h.

◆ MDB_MAPASYNC [1/2]

#define MDB_MAPASYNC   0x100000

use asynchronous msync when MDB_WRITEMAP is used

Definition at line 297 of file lmdb.h.

◆ MDB_MAPASYNC [2/2]

#define MDB_MAPASYNC   0x100000

use asynchronous msync when MDB_WRITEMAP is used

Definition at line 297 of file lmdb.h.

◆ MDB_NOLOCK [1/2]

#define MDB_NOLOCK   0x400000

don't do any locking, caller must manage their own locks

Definition at line 301 of file lmdb.h.

◆ MDB_NOLOCK [2/2]

#define MDB_NOLOCK   0x400000

don't do any locking, caller must manage their own locks

Definition at line 301 of file lmdb.h.

◆ MDB_NOMEMINIT [1/2]

#define MDB_NOMEMINIT   0x1000000

don't initialize malloc'd memory before writing to datafile

Definition at line 305 of file lmdb.h.

◆ MDB_NOMEMINIT [2/2]

#define MDB_NOMEMINIT   0x1000000

don't initialize malloc'd memory before writing to datafile

Definition at line 305 of file lmdb.h.

◆ MDB_NOMETASYNC [1/2]

#define MDB_NOMETASYNC   0x40000

don't fsync metapage after commit

Definition at line 293 of file lmdb.h.

◆ MDB_NOMETASYNC [2/2]

#define MDB_NOMETASYNC   0x40000

don't fsync metapage after commit

Definition at line 293 of file lmdb.h.

◆ MDB_NORDAHEAD [1/2]

#define MDB_NORDAHEAD   0x800000

don't do readahead (no effect on Windows)

Definition at line 303 of file lmdb.h.

◆ MDB_NORDAHEAD [2/2]

#define MDB_NORDAHEAD   0x800000

don't do readahead (no effect on Windows)

Definition at line 303 of file lmdb.h.

◆ MDB_NOSUBDIR [1/2]

#define MDB_NOSUBDIR   0x4000

no environment directory

Definition at line 287 of file lmdb.h.

◆ MDB_NOSUBDIR [2/2]

#define MDB_NOSUBDIR   0x4000

no environment directory

Definition at line 287 of file lmdb.h.

◆ MDB_NOSYNC [1/2]

#define MDB_NOSYNC   0x10000

don't fsync after commit

Definition at line 289 of file lmdb.h.

◆ MDB_NOSYNC [2/2]

#define MDB_NOSYNC   0x10000

don't fsync after commit

Definition at line 289 of file lmdb.h.

◆ MDB_NOTLS [1/2]

#define MDB_NOTLS   0x200000

tie reader locktable slots to MDB_txn objects instead of to threads

Definition at line 299 of file lmdb.h.

◆ MDB_NOTLS [2/2]

#define MDB_NOTLS   0x200000

tie reader locktable slots to MDB_txn objects instead of to threads

Definition at line 299 of file lmdb.h.

◆ MDB_RDONLY [1/2]

#define MDB_RDONLY   0x20000

read only

Definition at line 291 of file lmdb.h.

◆ MDB_RDONLY [2/2]

#define MDB_RDONLY   0x20000

read only

Definition at line 291 of file lmdb.h.

◆ MDB_WRITEMAP [1/2]

#define MDB_WRITEMAP   0x80000

use writable mmap

Definition at line 295 of file lmdb.h.

◆ MDB_WRITEMAP [2/2]

#define MDB_WRITEMAP   0x80000

use writable mmap

Definition at line 295 of file lmdb.h.

Modified on Sun May 19 04:41:46 2024 by modify_doxy.py rev. 669887