Java Message Pool

I want to learn how to write a thread pool in Java

Can someone point me to useful resources?

+3
source share
5 answers

You can see the source code ThreadPoolExecutorfrom the main java. Although why do you want to invent a wheel?

+5
source

take a look at Doug Lee’s books ... they are quite old (unless he released a new one, not sure), but the parallel package added in 1.5 is based on his thread libraries. as far as I'm concerned, he is an authority on concurrent programming in java ... his books will provide you with the basics of what you need to understand in order to complete this task.

, ... , , ... . .

+7

" concurrency ". , Java.

+6
+1
source

Source: https://habr.com/ru/post/1735592/


All Articles