DbDeadlockException |
#include <db_cxx.h>class DbDeadlockException : public DbException { ... };
This manual page describes the DbDeadlockException class and how it is used by the various Db* classes.
A DbDeadlockException is thrown when multiple threads competing for a lock are deadlocked. One of the threads' transactions is selected for termination, and a DbDeadlockException is thrown to that thread.
See DbEnv::set_lk_detect for more information.