Monitors, Synchronization and Deadlocks
[ Home ] [ Up ] [ What is MultiThreading? ] [ Threads & Thread Properties ] [ Thread Scheduling and Priority ] [ Types of Threads ] [ Monitors, Synchronization and Deadlocks ] [ Thread Coordination ] [ Communication Between Threads ] [ Threads and Thread Groups ] [ Explicit Locks ] [ Atomic Variables ] [ Blocking Queues ] [ Thread-Safe Collections ] [ Callables & Futures ] [ The Executor Framework ] [ Synchronizers ]

 

A Steam Boiler
Race Conditions
Monitors
Synchronization
A Fixed Steam Boiler
Deadlock
Starvation & Livelock

 

Why do we need Synchronization?

Let's look at an example of a Java program where we ignore the problem, and see what trouble we get into.

 

 

The page was last updated February 19, 2008