DoWait() public method

public DoWait ( IQueuedSync sync ) : void
sync IQueuedSync
return void
 public override void LockInterruptibly()
 {
     var caller = Thread.CurrentThread;
     lock (this)
     {
         if (GetHold(caller)) return;
     }
     var n = new WaitNode();
     n.DoWait(this);
 }