SpinLockExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Helpers for working with the SpinLock type.
public static class SpinLockExtensions
type SpinLockExtensions = class
Public Class SpinLockExtensions
- Inheritance
-
SpinLockExtensions
Methods
Enter(Object, SpinLock) | |
Enter(SpinLock*) |
Enters a specified SpinLock instance and returns a wrapper to use to release the lock.
This extension should be used though a
The compiler will take care of releasing the SpinLock when the code goes out of that |