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.300-beta+b2186e2cd1f968c931b0e151fdd7c839f3d1e9cf
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