Berkeley DB: DbEnv::set_lk_conflicts
Полезная информация


#include <db_cxx.h>

void DbEnv::set_lk_conflicts(u_int8_t *);


Set the locking modes. The set value is a lk_modes by lk_modes array. A non-0 value for the array element:

indicates that requested_mode and held_mode conflict. The not-granted mode must be represented by 0. If lk_conflicts is NULL, the conflicts array db_rw_conflicts is used; see Standard Lock Modes for a description of that array.



See Also

DbEnv::appinit, DbEnv::appexit, DbEnv::version, DbEnv::get_lg_info, DbEnv::get_lk_info, DbEnv::get_mp_info, DbEnv::get_tx_info, dbenv_set_data_dir, DbEnv::set_errcall, DbEnv::set_errfile, DbEnv::set_error_model, DbEnv::set_error_stream, DbEnv::set_errpfx, DbEnv::set_lg_max, DbEnv::set_lk_conflicts, DbEnv::set_lk_detect, DbEnv::set_lk_modes, DbEnv::set_lorder, DbEnv::set_mp_mmapsize, DbEnv::set_mp_size, DbEnv::set_tx_max, DbEnv::set_tx_recover and DbEnv::set_verbose.