A simple thread pool implementation in Rust built using only the standard library to understand concurrency, worker threads, task scheduling, and producer-consumer architecture.
- Fixed-size worker pool
- Concurrent task execution
- Task queue using channels
- Graceful shutdown
- CPU-bound benchmark
- Worker logging
Main Thread
│
submit(task)
▼
Task Queue
│
▼
Worker Threads
│
execute tasks concurrently