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

Recheck() public method

public Recheck ( WaitNode node ) : bool
node BitSharper.Threading.Helpers.WaitNode
return bool
            public bool Recheck(WaitNode node)
            {
                var caller = Thread.CurrentThread;
                lock (this)
                {
                    if (GetHold(caller)) return true;
                    _wq.Enqueue(node);
                    return false;
                }
            }