ReaderWriterSpinLockEnterReadLock Method

Enters the lock in read mode.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.182 -- Release Build+ba5f10d8660e1f40f273cb226c2407ae5f01d0a3
public void EnterReadLock()

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.

See Also