public PoolableThread(ThreadPool pool){
  super(pool.getThreadGroup(),"");
  this.pool=pool;
synchronized (PoolableThread.class) {
    threadID=nextThreadID++;
  }
  setName(pool.getIdentifier() + "-" + threadID);
}

public PoolableThread ( ThreadPool pool ) { super ( pool . getThreadGroup ( ) , "" ) ; this . pool = pool ; synchronized ( PoolableThread . class ) { threadID = nextThreadID ++ ; } setName ( pool . getIdentifier ( ) + "-" + threadID ) ; }
a thread that is a good pool citizen .
