Struct SpinLockExclusive.ScopedLock
IDisposable scoped structure that holds SpinLockExclusive. Should be using with using
Implements
Inherited Members
Namespace: Unity.Logging
Assembly: Unity.Logging.dll
Syntax
public struct SpinLockExclusive.ScopedLock : IDisposable
Constructors
ScopedLock(SpinLockExclusive)
Creates ScopedLock and locks SpinLockExclusive
Declaration
public ScopedLock(SpinLockExclusive sl)
Parameters
Type | Name | Description |
---|---|---|
SpinLockExclusive | sl | SpinLock to lock |
Methods
Dispose()
Unlocks the lock
Declaration
public void Dispose()