I need help understanding threadpools
⚓ Rust 📅 2026-07-07 👤 surdeus 👁️ 1I've read that rust provides thread::available_parallelism() to know how many concurrent tasks you can execute. But does it work the same way for threadpool? Or can I set the limit to like 20 threads while the available parallelism is 8 for example?
Thanks!
3 posts - 3 participants
🏷️ Rust_feed