‹
EXPLORE · LISTEN · DISCOVER

Race condition

Technology · Coordinating workVISUAL DISCOVERY 1045 OF 1,100

Race condition

Explorer · about 8 minutes · a little curiosity goes a long way

Lesson details
Browse all adventures
For grown-ups
Today’s little discovery

Interleaved reads and writes can produce a different result from a complete serial update.

Ask the child to explain race condition using the picture, then ask which real-world details the simplified drawing leaves out.

This is a learning model. Try the take-home activity together.
Voice settings

Using Heart (en-US).

Saved voices download ahead of play for this activity. No lesson text is sent to a speech service.The sample plays once and does not change the Sound on/off setting.
Your adventure steps
  1. Wonder
  2. Guess
  3. Try it
  4. Discover
  5. Celebrate
01 / 05
1234Read 0Read 0Two workers read before either writes An interleaving can lose an update
A little wonder
HERE’S A LITTLE WONDER…

What makes race condition work?

You are reviewing a sketch that uses race condition. Follow its parts through a small change before deciding what to keep in the design.

No rush. Try an idea and see.
Try it

Open Lesson to read the question, choose your idea, and continue.