/** * Create some pool. * @param num The number of pool. */ protected synchronized void addThreads(int num) { for(int i=0; i<num; i++) { addThread(); } }
/** * Create some pool. * @param num The number of pool. */ protected synchronized void addThreads(int num) { for(int i=0; i<num; i++) { addThread(); } }