Log In
Join
for free
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
Semaphore vs Monitor
This lesson discusses the differences between a monitor and a semaphore.
We'll cover the following
Difference between Semaphore and Monitor