|
ReaderWriterSpinLockEnterReadLock Method
|
Enters the lock in read mode.
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic void EnterReadLock()
public:
void EnterReadLock()
member EnterReadLock : unit -> unit
function EnterReadLock();
View Source
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.
See Also