InterprocessReaderWriterLockExitReadLock Method

Exits read mode and returns the prior read lock count.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.158 -- Release Build+8af53c44e6ad1fac543a652d58b46c9843b74b64
public int ExitReadLock()

Return Value

Int32

[Missing <returns> documentation for "M:Gemstone.Threading.InterprocessReaderWriterLock.ExitReadLock"]

Remarks

Upon successful acquisition of a read lock, use the finally block of a try/finally statement to call ExitReadLock. One ExitReadLock should be called for each EnterReadLock or TryEnterReadLock(Int32).

See Also