Multiplayer Parallel Adventures
Learn to create and manage multiple execution threads. Spawn your first concurrent process and observe parallel execution in real time.
Face the Deadlock Dragon: two threads holding resources the other needs. Break the cycle to win.
Navigate a labyrinth where doors are controlled by mutual exclusion locks. Only one hero can pass at a time.
Coordinate all four heroes to simultaneously activate switches in different rooms. Requires perfect synchronization and communication through shared channels.
Visit the shrine and learn to read and write shared memory safely between concurrent threads.
Race against time down treacherous rapids where execution order is non-deterministic. Identify and fix race conditions before data corruption spreads downstream.
Cross the swamp using counting semaphores to control how many heroes can stand on each platform.
Communicate between threads using message-passing channels deep in the caverns.
Equip your heroes with atomic operations. Learn compare-and-swap to safely update shared state without locks.
All heroes must arrive at the bridge before anyone can cross. Implement a cyclic barrier to synchronize the party at checkpoints throughout the dungeon.
A ghost that prevents threads from ever getting CPU time. Defeat it by implementing fair scheduling.
Manage a pool of worker processes at the pond. Assign tasks efficiently and collect results.
All heroes synchronized. All challenges conquered. The concurrent quest continues.