|
InterprocessReaderWriterLockExitReadLock Method
|
Exits read mode and returns the prior read lock count.
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
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