Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M3837

Sleeping Barber Problem

Sleeping Barber Problem
SystemsHigh supportSystems Theory
Included
account_tree

Version 1.0.0 · Updated 2026-07-28

CORE DEFINITION

In computer science, the sleeping barber problem is a classic inter-process communication and synchronization problem that illustrates the complexities that arise when there are multiple operating system processes. The problem was originally proposed in 1965 by computer science pioneer Edsger Dijkstra, who used it to make the point that general semaphores are often superfluous.

SCAFFOLDING EFFECT

psychology

Reduce cognitive load

In computer science, the sleeping barber problem is a classic inter-process communication and synchronization problem that illustrates the complexities that arise when there are multiple operating system processes.

anchor

Anchor fast decisions

A classic concurrency synchronization problem in operating systems: how to coordinate customer arrivals, waiting, and wake-up when the barber is asleep or busy, demonstrating inter-process synchronization, mutual exclusion, and avoidance of deadlock and starvation.

MINIMUM ACTION

In progress 0/3

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more

Source support: Explicit

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Sleeping_barber_problemZH · Explicit
    verified

RELATED MODELS