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_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.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