code: public void put(PondLife pl)
          throws InterruptedException
      {
          int id=pl.getID();
          
          synchronized(this)
          {
              if (_running==0)
                  stopPondLife(id);
              else if (_pondLife[id]!=null)
              {
                  _index[_available++]=id;
                  notify();
              }
          }
          
      }
docs: /* ------------------------------------------------------------