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.283-beta+c965646d479a9eab83d024dda466bc5a7b4c1300
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