Lesson 11 - Multithreading in Java - ForkJoinPool
In the previous lesson, Multithreading in Java - ThreadPool, we talked about
ThreadPool and we ended mentioning
We're going to introduce it in today's Java tutorial.
ForkJoinPool is not just one class, but a whole framework added
to Java 7:
The basis is the
ForkJoinPool class, which implements the
ExecutorService interface. We already know this from previous
lessons. This ThreadPool uses the task stealing algorithm that we explained last
time. I'm attaching a picture just as a refresher. The core idea is that a
thread that has
...End of the preview...
You've come here and that's great! We believe that the first lessons showed you something new and useful
Do you want to continue the course? Go to the premium section.
Warning, by buying just this lesson you'll lose the limited 15% discount for the package of all the lessons.
- Unlimited and permanent access to individual lessons.
- High quality IT knowledge.
- Skills to help you get your dream and well-paid job.
Requested article covers this content:
In this tutorial, we'll introduce advanced techniques for parallel programming in Java. We'll describe ForkJoinPool.
You gain credits by supporting our network. This is done by sending a helpful amount of money to support the site, or by creating content for the network.