The project implements a client-thread pool and a worker-thread pool model for concurrent task execution.
Tasks submitted by clients are passed to the worker pool through a shared task queue.
Synchronization is managed using mutexes and condition variables.
- Multi-threaded design
- Task queue for communication between pools
- Proper synchronization (mutex, condition variable)
- Clean resource management and thread termination
The communication between the client thread pool and the worker thread pool is achieved using a shared synchronized task queue.
- Clients enqueue tasks into the queue.
- Workers dequeue tasks and execute them.
- The queue is protected by mutex and condition variable to ensure thread-safe access.
make