Sign inSign in
ConceptSystems & CS

Data race

A condition occurring when multiple threads access the same memory location concurrently and at least one of the accesses is a write, resulting in undefined behavior.
as Tim Mattson defines itIntelThe wording closest to all 5 definitions
Watch it explained

Know first

Named as a prerequisite by the lectures that define this. The number is how many say so. A grey one has no page yet.

Concurrency2Concurrency in go1CPU cache1Determinacy race1Goroutines1Lock1Memory location1Multithreading1

Opens up

Concepts that name this one as a prerequisite.

Lecturers

5

Each in their own terms, from the easiest level.

  • Bartosz Milewski

    Introductory

    The problem caused by mixing hidden mutation and pointer sharing between concurrent objects.
    • 11:24Category Theory 1.1: Motivation and Philosophy
  • Frans Kaashoek

    MIT · Undergraduate

    A condition where two goroutines access the same variable concurrently and at least one of the accesses is a write, which Go's race detector flags.
    • 1:10:00Go Concurrency Patterns, Condition Variables & Raft Prep
  • Charles Leiserson

    MIT · Undergraduate

    A data race occurs when two logically parallel instructions holding no locks in common access the same memory location and at least one of the instructions performs a write.
    • 23:05Nondeterministic Parallel Programming
  • Andrew Kelley

    Zig SHOWTIME · Undergraduate

    A bug caused when multiple CPU cores try to access the same memory address concurrently without synchronization, leading to inconsistent cached states.
    • 13:49Handling Cancellation in Concurrent Systems

Lectures that assume it

1

Connections

13

The lectures that define it or assume it, and the concepts next to it.

5 lecturers. Definitions are written by AI from each lecture’s transcript. A time with a play mark starts the lecture at the moment the lecturer says it.