Java programming language logo

Java Concurrency

In our days, computers have multiple processors or processors with multiple cores. By concurrent programming, they can be better utilized and the execution time can be reduced.

Java supports concurrent programming from the very beginning by a low-level API. In version 5.0, Java also introduced a high-level concurrency API. You can find here some basic descriptions and examples of both API.

Low-Level API Descriptions and Examples

Starting a Thread

Thread Sleep

Thread Join

Thread Interruption

Synchronization

Guarded Block

High-Level API Descriptions and Examples

Executors

Reentrant Lock