Java - Concurrency (Parallel Work)
- processes. A process is implemented as a main thread that can create other thread.
- and threads. Threads exist within a process — every process has at least one.
In the Java programming language, concurrent programming is mostly concerned with threads.
Communication between threads
The Java programming language provides multiple mechanisms for communicating between threads:
- Java has a concurrency framework (higher-level building blocks) since the version 1.5 with the APIs java.util.concurrent packages.