Used to leave a critical section that was entered using _AcquireSpinLock, which signals that it is now safe to allow another thread to execute the critical section.
- [out] Lock
The lock variable, which is the same variable used in the _AcquireSpinLock function.
Other threads attempting to execute _AcquireSpinLock with the same variable see zero in the Lock variable until the thread that has the lock calls _ReleaseSpinLock on that variable. _AcquireSpinLock and _ReleaseSpinLock must occur in pairs that use the same address.
This routine is only available as an intrinsic.