|
|
|
|
|
|
|
|
|
|
|
|
n |
The section of
code implementing this
|
|
|
request is
called the entry
section
|
|
|
n |
The critical
section (CS) might be followed
|
|
|
by an exit section
|
|
|
n |
The remaining
code is the remainder
|
|
|
|
section
|
|
|
n |
The critical
section problem is to design a
|
|
|
protocol that
the processes can use so that
|
|
|
their action
will not depend on the order in
|
|
|
which their
execution is interleaved
|
|
|
(possibly on
many processors)
|
|