|
InterprocessReaderWriterLockExitReadLock Method
|
Exits read mode and returns the prior read lock count.
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.251-beta+c370f3da3791592278238855631f53a5ff418c68
Syntaxpublic int ExitReadLock()
Public Function ExitReadLock As Integer
public:
int ExitReadLock()
member ExitReadLock : unit -> int
View SourceReturn 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