Searched refs:taskQueue (Results 1 – 2 of 2) sorted by relevance
26 private LinkedList<Runnable> taskQueue; field in ThreadPool38 taskQueue = new LinkedList<Runnable>(); in ThreadPool()49 taskQueue.add(task); in runTask()55 while (taskQueue.size() == 0) { in getTask()62 return (Runnable) taskQueue.removeFirst(); in getTask()68 taskQueue.clear(); in close()
65 private final Queue<Runnable> taskQueue; field in AsynchronousChannelGroupImpl79 taskQueue = new ConcurrentLinkedQueue<Runnable>(); in AsynchronousChannelGroupImpl()81 taskQueue = null; // not used in AsynchronousChannelGroupImpl()193 taskQueue.offer(task);197 return (taskQueue == null) ? null : taskQueue.poll();