public final synchronized void ponderHit(int id){
  if ((searchRequest == null) || (searchRequest.ponderMove == null) || (searchRequest.searchId != id))   return;
  searchRequest.ponderHit();
  if (engineState.state != MainState.PONDER)   searchRequest.startTime=System.currentTimeMillis();
  if (engineState.state == MainState.PONDER) {
    uciEngine.writeLineToEngine("ponderhit");
    engineState.setState(MainState.SEARCH);
    pvModified=true;
    notifyGUI();
  }
}

public final synchronized void ponderHit ( int id ) { if ( ( searchRequest == null ) || ( searchRequest . ponderMove == null ) || ( searchRequest . searchId != id ) ) return ; searchRequest . ponderHit ( ) ; if ( engineState . state != MainState . PONDER ) searchRequest . startTime = System . currentTimeMillis ( ) ; if ( engineState . state == MainState . PONDER ) { uciEngine . writeLineToEngine ( "ponderhit" ) ; engineState . setState ( MainState . SEARCH ) ; pvModified = true ; notifyGUI ( ) ; } }
sends " ponderhit " command to engine .
