Did you know Cards Games

Sleeping barber problem

Sleeping barber problem: interprocess communication/synchronization problem between multiple OS processes, using an analogy of a barbershop, in which the barber wishes to nap when there are no customers, and customers wish to have their hair cut as soon as possible. No. 358,734 of 4,515,532 cards by fame.

Sleeping barber problem: quick facts

Description
Interprocess communication/synchronization problem between multiple OS processes, using an analogy of a barbershop, in which the barber wishes to nap when there are no customers, and customers wish to have their hair cut as soon as possible
Rarity in the game
Epic card
In its topic
No. 4,822 of 9,102 “Computer science” cards
Wikipedia
article in 12 languages
Wikidata
Q2509067
Wikipedia page views
about 1,100 a month (November 2025 – October 2026)

Fame score: Wikipedia page views (July 2015 – October 2026, 39 languages). Updated .

Sleeping barber problem
Photo: David Weekly, CC BY 2.0 (Wikimedia Commons)

Sleeping barber problem: summary

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.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Computer science

The best-known of the 9,102 “Computer science” cards

This card's topics

“Sleeping barber problem” is one of the 4,515,532 cards of Did you know Cards, the free Wikipedia card game where you learn as you play: every card is a piece of knowledge from Wikipedia. Open boosters, complete your albums and challenge other players to duels.