current.set(indx, runner);
}
}
runner.setState(BasicRunnable.RUN_READY);
Thread thr = new MQThread(tgroup, runner, "Thread-"+name +"["
+indx + "]");
thr.setPriority(priority);
if (indx >= min) {
runner.setThreadBehavior(BasicRunnable.B_TIMEOUT_THREAD);
}
current_count ++;
thr.start();
return runner;
}