/*
   * (non-Javadoc)
   *
   * @see java.lang.Thread#run()
   */
  @Override
  public void run() {

    while (!pFinished.waitEvent(pInterval)) {
      pRunnable.run();
    }
  }
  /** Cancels/stops the loop timer */
  public void cancel() {

    pFinished.set();
  }