Skip to content

agatav/SOI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOI

folder Semaphore

The solution to the producers&consumers problem. There is FIFO buffer of 9 elements. The producer A puts 1 element into buffer, the producer B puts 3 ones. The consumer A gets 1 element, B one gets 2 elements from the buffer. Size of the buffer can vary from 3 to 9, at the start buffer is empty.

#Monitor.h, monitor.cpp There are used monitors to solve above problem.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published