|
ReaderWriterSpinLockEnterWriteLock Method
|
Enters the lock in write mode.
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic void EnterWriteLock()
Public Sub EnterWriteLock
public:
void EnterWriteLock()
member EnterWriteLock : unit -> unit
function EnterWriteLock();
View Source
Remarks
Upon successful acquisition of a write lock, use the
finally block of a
try/finally statement to call
ExitWriteLock.
One
ExitWriteLock should be called for each
EnterWriteLock.
See Also