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