Monday 12 March 2012

Bounded Buffer Consumer Process


  • Consumer process removes an item from the shared buffer and puts it in nextc
                                                   region buffer when (count > 0)
                                                   { 
                                                   nextc = pool[out];
                                          out = (out+1) % n;
                                          count--;
                                          }

No comments:

Post a Comment