Questions tagged [synchronization]

10 questions
0
votes
1 answer

Bounded buffer problem - Why can only fill up n–1 buffer?

I read a lecture about synchronization. In this lecture there were slides about the bounded buffer problem (see below). My question is: Why it's true that producer can only fill up to n-1 buffer cells? thanks!