Run one iteration of the deadlock detector. The deadlock detector traverses the lock table and marks one of the participating lock requesters for rejection in each deadlock it finds.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet52 (in libdb_dotnet52.dll) Version: 5.2.28.0

Syntax

C#
public uint DetectDeadlocks(
	DeadlockPolicy atype
)
Visual Basic (Declaration)
Public Function DetectDeadlocks ( _
	atype As DeadlockPolicy _
) As UInteger
Visual C++
public:
unsigned int DetectDeadlocks(
	DeadlockPolicy^ atype
)

Parameters

atype
Type: BerkeleyDB..::.DeadlockPolicy
Specify which lock request(s) to reject

Return Value

The number of lock requests that were rejected.

See Also