procedure Exit(PublishNow: Boolean = True);
void __fastcall Exit(bool PublishNow = true);
Used to release the spin lock by the thread that currently owns it.
Call Exit to release the spin lock.
The PublishNow parameter indicates whether or not other threads should see the exit immediately. In this case the fairness of the lock is ensured at the expense of a small performance decrease.