Click or drag to resize

InterprocessReaderWriterLockExitReadLock Method

Exits read mode and returns the prior read lock count.

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.286-beta+af3877f0fd6bd9f0ab0bb09de528343468ffe7d4
Syntax
public int ExitReadLock()
View Source

Return Value

Int32
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