public int getThreadPriority() { return tp.getThreadPriority(); }
/** * Start a new thread, with no method in it */ ControlRunnable(ThreadPool p) { toRun = null; shouldTerminate = false; shouldRun = false; this.p = p; t = new ThreadWithAttributes(p, this); t.setDaemon(true); t.setName(p.getName() + "-Processor" + p.incSequence()); t.setPriority(p.getThreadPriority()); p.addThread( t, this ); noThData=true; t.start(); }