Berkeley DB: DbLockTab
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btr ee,hash,hashing,transaction,transactions,locking,logging,access method,access me thods,java,C,C++

# DbLockTab

`

###

    #include <db_cxx.h>

# Description

The DbLockTab class is used in conjunction with the DbLock class to provide general-purpose locking. While designed to work with the other Db classes, these classes are also useful for more general locking purposes. Locks can be shared between processes. In most cases, when multiple threads or processes are using locking, the deadlock detector, db_deadlock should be run.

# Class

DbLockTab

# See Also

DbLockTab::close, DbLockTab::detect, DbLockTab::get, DbLockTab::id, DbLockTab::open, DbLockTab::stat, DbLockTab::unlink and DbLockTab::vec.`