public void run()

in src/main/java/org/apache/datasketches/characterization/concurrent/ConcurrentTestThread.java [46:59]


  public void run() {

    while (!stop.get()) {

      while (!paused.get() && (opCount < numOpsToDo.get())) {
        doWork();
        opCount++;
      }
      if (resumed.get() && (paused.get() || (opCount == numOpsToDo.get()))) {
        resumed.set(false);
        context.done(getIndex(), opCount);
      }
    }
  }