|
|
|
|
|
|
|
|
|
|
|
|
|
n |
A producer process produces information
|
|
that is
consumed by a consumer
process
|
|
|
|
u |
Ex1: a print
program produces characters that
|
|
|
are consumed by a
printer
|
|
|
|
u |
Ex2: an assembler
produces object modules
|
|
|
that are consumed
by a loader
|
|
|
n |
We need a buffer to hold items that are
|
|
|
produced and
eventually consumed
|
|
|
n |
A common
paradigm for cooperating
|
|
|
processes
|
|