System.Threading.ClientSpinLock.ClientSpinLock C# (CSharp) Method

ClientSpinLock() public method

public ClientSpinLock ( bool enableThreadOwnerTracking ) : System
enableThreadOwnerTracking bool
return System
        public ClientSpinLock(bool enableThreadOwnerTracking)
        {
            this.isThreadOwnerTrackingEnabled = enableThreadOwnerTracking;
            this.threadWhoTookLock = 0;
            this.ticket = new ClientTicketType ();
            this.stallTickets = null;
        }