DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

DbDeadlockException

API Ref

#include <db_cxx.h>

class DbDeadlockException : public DbException { ... };


Description: DbDeadlockException

This information describes the DbDeadlockException class and how it is used in the Berkeley DB library.

A DbDeadlockException is thrown when multiple threads competing for a lock are deadlocked, when a lock request has timed out, or when a lock request would need to block and the transaction has been configured to not wait for locks. One of the threads' transactions is selected for termination, and a DbDeadlockException is thrown to that thread.

The DbException errno value is set to DB_LOCK_DEADLOCK.


APIRef

Copyright (c) 1996-2005 Sleepycat Software, Inc. - All rights reserved.