InterprocessReaderWriterLockEnterWriteLock Method

Tries to enter the lock in write mode.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
public void EnterWriteLock()

Remarks

Upon successful acquisition of a write lock, use the finally block of a try/finally statement to call ExitWriteLock. One ExitWriteLock should be called for each EnterWriteLock or TryEnterWriteLock(Int32).

See Also