Skip to main content

The Critical Section

This video presents the same text shown beside it, spoken and on screen. It adds nothing the text does not say.

State

A critical section is a code block influencing the results of concurrency or parallelism — where timing can change outcomes, demanding synchronization before entry.

Show

A payroll pair — one function computing pay, one printing checks — cannot let printing outrun computing.

Watch for

Finding the critical sections is the analysis; locking them is the mechanics.

Builds on

Unlocks

  • Nothing yet depends on this.