Frage im Vorstellungsgespräch bei Ant Group

Explain how thread pool work

Antwort im Vorstellungsgespräch

Anonym

11. Jän. 2026

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