final boolean transferAfterCancelledWait(Node node){
  if (compareAndSetWaitStatus(node,Node.CONDITION,0)) {
    enq(node);
    return true;
  }
  while (!isOnSyncQueue(node))   Thread.yield();
  return false;
}

final boolean transferAfterCancelledWait ( Node node ) { if ( compareAndSetWaitStatus ( node , Node . CONDITION , 0 ) ) { enq ( node ) ; return true ; } while ( ! isOnSyncQueue ( node ) ) Thread . yield ( ) ; return false ; }
transfers node , if necessary , to sync queue after a cancelled wait . returns true if thread was cancelled before being signalled .
