Thread.yield();
  public void ding ()  {    //  We get dinged when new messages are added to our queue and when    //  new acks are received by the ack backend.    synchronized (queue)     {      haveNewData = true;  // new msgs or acks      queue.notify();    }  }