Yet another thread pool in Rust that is adaptive, responsive and generic.
It is still a work in progress.
-
Adaptive: Yatp adjusts the number of working threads automatically. Under light workloads, unnecessary context switches are greatly reduced.
-
Responsive: Yatp supports different kinds of task queues with advanced scheduling algorithms like multi-level feedback queue.
-
Generic: Yatp is easily adapted to various tasks. Simple callbacks and Future are built-in supported.