Explain how thread pool work
Anoniem
Creating a pool of thread and execute tasks whenever threads are not occupied, it goes to pool and execute the task until all the waiting takes in the queues are cleared and stays idle in pool, so this way no need to create because everytime thread is created it uses high consumption of memory