|
ReaderWriterSpinLockEnterWriteLock Method
|
Enters the lock in write mode.
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.244-beta+c33f622c070b2c1078a06bcb41bdeb4c19d19a0b
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