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

ServerSpinLock() public method

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