Struct SpinLock
public struct SpinLock
- Inherited Members
- Extension Methods
Methods
Equals(object?)
Calls to this method are not supported
[DoesNotReturn]
public override readonly bool Equals(object? obj)
Parameters
objobjectNot supported
Returns
- bool
Calls to this method are not supported
Remarks
Calls to this method are not supported
Exceptions
- NotSupportedException
always
GetHashCode()
Calls to this method are not supported
[DoesNotReturn]
public override readonly int GetHashCode()
Returns
- int
Calls to this method are not supported
Remarks
Calls to this method are not supported
Exceptions
- NotSupportedException
always
Lock(ref SpinLock)
public static void Lock(ref SpinLock spinLock)
Parameters
spinLockSpinLock
ToString()
Calls to this method are not supported
[DoesNotReturn]
public override readonly string ToString()
Returns
- string
Calls to this method are not supported
Remarks
Calls to this method are not supported
Exceptions
- NotSupportedException
always
TryLock(ref SpinLock)
public static bool TryLock(ref SpinLock spinLock)
Parameters
spinLockSpinLock
Returns
Unlock(ref SpinLock)
public static void Unlock(ref SpinLock spinLock)
Parameters
spinLockSpinLock