Skip to content
#

semaphores

Here are 13 public repositories matching this topic...

5.8 The roller coaster problem This problem is from Andrews’s Concurrent Programming [1], but he attributes it to J. S. Herman’s Master’s thesis. Suppose there are n passenger threads and a car thread. The passengers repeatedly wait to take rides in the car, which can hold C passengers, where C < n. The car can go around the tracks only when it …

  • Updated Apr 27, 2022
  • Python

Improve this page

Add a description, image, and links to the semaphores topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the semaphores topic, visit your repo's landing page and select "manage topics."

Learn more