Skip to main content

Why are thread pools preferred over manually created threads?

Expert C#
Quick Answer Creating a thread is expensive รขโ‚ฌโ€ it allocates a stack, registers with the OS, and takes time. Thread pools reuse a fixed set of threads for many short tasks. They also auto-tune the number of threads based on workload. For async I/O-bound work, the pool is efficient; for long-running CPU work, use dedicated threads.

Answer

Thread pools reuse threads, reducing creation overhead and improving performance.

They optimize concurrency through heuristics and balancing strategies.

S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice