Skip to content

The Producer-Consumer problem is a classic synchronization problem in operating systems. The problem is defined as follows: there is a fixed-size buffer and a Producer process, and a Consumer process.

Notifications You must be signed in to change notification settings

Mr-Array22/Os-2_project-

Repository files navigation

Os-2_project-

The Producer-Consumer problem is a classic synchronization problem in operating systems.

The problem is defined as follows: there is a fixed-size buffer and a Producer process, and a Consumer process.

The Producer process creates an item and adds it to the shared buffer. The Consumer process takes items out of the shared buffer and “consumes” them.

video animation:https://www.youtube.com/watch?v=8vfahI3NG-A&t=5s

About

The Producer-Consumer problem is a classic synchronization problem in operating systems. The problem is defined as follows: there is a fixed-size buffer and a Producer process, and a Consumer process.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published