task
Efficient thread pool task scheduling framework
... task.
3. The task scheduling framework has excellent performance, if the task queue is empty, the framework will automatically enter into the waiting state until the task queue has a task to add. This will greatly reduce the consumption of CPU.
4.The framework is very easy to use, for example:
TaskQueue queue = new TaskQueue();
taskAssigner = new TaskAssigner(queue, 10);
taskAssigner.start();
queue.add(task);