Java - Concurrency (Parallel Work)


In concurrent or parallel programming, there are two basic units of execution:

  • 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:

Execution Framework

Documentation / Reference

Task Runner