BitSharper.Threading.Locks.ReentrantLock.FairSync.Lock C# (CSharp) Method

Lock() public method

public Lock ( ) : void
return void
            public override void Lock()
            {
                var caller = Thread.CurrentThread;
                lock (this)
                {
                    if (GetHold(caller)) return;
                }
                var n = new WaitNode();
                n.DoWaitUninterruptibly(this);
            }