Data Fields | |
| MDB_env * | mc_env |
| MDB_txn * | mc_txn |
| pthread_mutex_t | mc_mutex |
| pthread_cond_t | mc_cond |
| char * | mc_wbuf [2] |
| char * | mc_over [2] |
| int | mc_wlen [2] |
| int | mc_olen [2] |
| pgno_t | mc_next_pgno |
| HANDLE | mc_fd |
| int | mc_toggle |
| int | mc_new |
| volatile int | mc_error |
State needed for a double-buffering compacting copy.
| pthread_cond_t mdb_copy::mc_cond |
Condition variable for mc_new
Buffer number in provider
| int mdb_copy::mc_new |
(0-2 buffers to write) | (MDB_EOF at end)
| volatile int mdb_copy::mc_error |
Error code. Never cleared if set. Both threads can set nonzero to fail the copy. Not mutex-protected, LMDB expects atomic int.
1.6.1