A C++ project demonstrating the Thread Pool pattern for concurrency.
This project showcases a C++ implementation of the Thread Pool pattern, a concurrency design pattern used for managing and executing multiple tasks concurrently by efficiently distributing them among a fixed number of threads. The program smartly distributes threads equally among the heavy tasks to implement them concurrently, thus optimizing resource utilization and enhancing overall performance.
- Thread Pool Pattern: Efficiently manages multiple heavy tasks by distributing them among a fixed number of threads.
- Concurrency: Implements heavy tasks concurrently, optimizing resource utilization.
- Smart Thread Distribution: Equally distributes threads among the heavy tasks, ensuring efficient task execution.
- C++20 or above
- This project is tested and compatible with the following compilers:
- Mingw g++
- Microsoft Visual C++ (MSVC)
- Clone the repository:
git clone https://github.com/BardiParsi/ThreadPool.git
- Build the project using a C++20 compiler.
- Run the executable.
Contributions are welcome! Fork the repository, make your changes, and submit a pull request.
This project is licensed under the General License - see the LICENSE file for details.
Let me know if you need further assistance! email: farsi.masoud@gmail.com