Click or drag to resize

ReaderWriterSpinLockEnterReadLock Method

Enters the lock in read mode.

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public void 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