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.296-beta+d85e3b6b23676c9fffb3231e358b4f94ad70793d
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