Skip to content

Concurrency

Threads, locks and races — watch the interleavings that bite.

Start the module

1. Threads vs Processes · 4 min

0 of 15 lessons · 0% complete

Start module

Concurrency visualizer

Every lesson in this module opens with an animation you can step through. This is the first one — Threads vs Processes: Shared memory, or a wall between you.

Threads vs Processes

Step 1 of 9

A process owns its memory. Threads live inside one process and share every byte of it.

Lessons
15
Minutes
71
Problems
8
Concepts
5

Quiz yourself: 3 questions from this module

1 / 3

Two threads in one process share: