Chapter 7.  The DbLock Handle

#include <db_cxx.h>

class DbLock { 
public: 
        DbLock(); 
        DbLock(const DbLock &); 
        DbLock &operator = (const DbLock &); 
        ~DbLock(); 
}; 

The locking interfaces for the Berkeley DB database environment are methods of the DbEnv handle. The DbLock object is the handle for a single lock, and has no methods of its own.

Locking Subsystem and Related Methods