If true, acquire write locks instead of read locks when doing a read, if locking is configured.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0

Syntax

C#
public bool ReadModifyWrite
Visual Basic (Declaration)
Public ReadModifyWrite As Boolean
Visual C++
public:
bool ReadModifyWrite

Remarks

Setting ReadModifyWrite can eliminate deadlock during a read-modify-write cycle by acquiring the write lock during the read part of the cycle so that another thread of control acquiring a read lock for the same item, in its own read-modify-write cycle, will not result in deadlock.

See Also