/** * Creates a new worker queue with the specified thread name * @param threadName */ public WorkerQueue(String threadName) { m_queueThread = new Thread(createQueueLoop(), threadName); }
/** * Creates a new worker queue with the specified thread name * and daemon mode flag * @param threadName * @param isDaemon */ public WorkerQueue(String threadName, boolean isDaemon) { m_queueThread = new Thread(createQueueLoop(), threadName); m_queueThread.setDaemon(isDaemon); }