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

TakeOver() public method

public TakeOver ( WaitNode node ) : void
node BitSharper.Threading.Helpers.WaitNode
return void
            public void TakeOver(WaitNode node)
            {
                lock (this)
                {
                    Debug.Assert(_holds == 1 && _owner == Thread.CurrentThread);
                    _owner = node.Owner;
                }
            }