2- Thread Pools
1:46
2 ಮಾತಾಡುವವರು
2 ಅಧ್ಯಾಯಗಳು
39 ಭಾಗಗಳು
ಮಾತಾಡುವವರು
ಅಧ್ಯಾಯಗಳು
-
0:03ಅಧ್ಯಾಯ 1: Threads are the fundamental building blocks of concurrent applications, but working directly with threads has a couple of problems. 71s · Speaker 1
Threads are the fundamental building blocks of concurrent applications, but working directly with threads has a couple of problems. The first problem is that we have a limited number of threads available to us. So if you're not careful, you…
-
1:14ಅಧ್ಯಾಯ 2: For example, we can create a thread pool with 10 threads and submit a thousand tasks to it. 29s · Speaker 2
For example, we can create a thread pool with 10 threads and submit a thousand tasks to it. The thread pool would take care of assigning our tasks to the threads. If all threads are busy, the new tasks will wait in a queue. As soon as a thr…