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

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.