# Berkeley DB: Locking Subsystem and Related Methods

Locking Subsystem and Related Methods | Description
--- | ---
DB_ENV->set_lk_conflicts | Set lock conflicts matrix
DB_ENV->set_lk_detect | Set automatic deadlock detection
DB_ENV->set_lk_max_lockers | Set maximum number of lockers
DB_ENV->set_lk_max_locks | Set maximum number of locks
DB_ENV->set_lk_max_objects | Set maximum number of lock objects
DB_ENV->set_timeout | Set lock and transaction timeout
DB_ENV->lock_detect | Perform deadlock detection
DB_ENV->lock_get | Acquire a lock
DB_ENV->lock_id | Acquire a locker ID
DB_ENV->lock_id_free | Release a locker ID
DB_ENV->lock_put | Release a lock
DB_ENV->lock_stat | Return lock subsystem statistics
DB_ENV->lock_vec | Acquire/release locks

Copyright Sleepycat Software