faizshukri/humantracking

Resource Consuming

Closed this issue · 0 comments

When we implement multithreading, all thread will run at the same time. But if we run all thread at the same time, it will use huge amount of user computer resource. Hence will make their performance slow.

So, we use the thread pool. Its like the manager to collection of thread. It will set a maximum thread that will run at a time. This maximum value is taken from the number of core processor of the user's computer. So, it will automatically adjust the performance depending on users computer.