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.318-beta+1903aa0cac9da84c743b0be24a37b293aa4151b2
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