Skip to content

agatav/SOI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 27, 2016
60858d7 · May 27, 2016

History

7 Commits
May 27, 2016
May 27, 2016
May 7, 2016
May 8, 2016
May 7, 2016

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