DBLock::DbLock(unsigned int); DBLock::DbLock(); DBLock::DbLock(const DbLock &); DbLock &DBLock::operator = (const DbLock &);
The DbLock class is used in conjunction with the DbLockTab 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.