ThreadPool proper usage and limits | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

ThreadPool proper usage and limits

I use the Threadpool for a background operation of web request and database update. Those operations don't require the main process nor they rely on other threads. just read, update and exit. In some situations, which I still haven't found why, the whole process just hangs. Have you had the same situation? Should I monitor and set limits to the Threadpool? What is the proper way of using the Threadpool?

16th Feb 2018, 6:35 AM
amir
amir - avatar
1 Answer
16th Feb 2018, 12:13 PM
Vukan
Vukan - avatar