Log In
Join
for free
Back To Module Home
Java Multithreading
0% completed
The Basics
Introduction
Program vs Process vs Thread
Concurrency vs Parallelism
Cooperative Multitasking vs Preemptive Multitasking
Synchronous vs Asynchronous
I/O Bound vs CPU Bound
Throughput vs Latency
Critical Sections & Race Conditions
Deadlocks, Liveness & Reentrant Locks
Mutex vs Semaphore
Mutex vs Monitor
Java's Monitor & Hoare vs Mesa Monitors
Semaphore vs Monitor
Amdahl's Law
Moore's Law
Multithreading in Java
Thready Safety & Synchronized
Wait & Notify
Interrupting Threads
Volatile
Reentrant Locks & Condition Variables
Missed Signals
Semaphore in Java
Spurious Wakeups
Java Memory Model
Java Memory Model
Reordering Effects
The happens-before Relationship
Java Thread Basics
Setting-up Threads
Basic Thread Handling
Executor Framework
Executor Implementations
Thread Pools
Types of Thread Pools
An Example: Timer vs ScheduledThreadPool
Callable Interface
Future Interface
CompletionService Interface
ThreadLocal
CountDownLatch
CyclicBarrier
Concurrent Collections
The happens-before Relationship
This lesson continues the in-depth discussion of Java memory model
We'll cover the following
Total order
Partial order
Actions
Synchronization order
Sequential consistency
Happens-before memory model
Example 1
Establishing happens-before relationship
Example 2