|
|
|
|
|
|
|
|
|
|
|
|
|
n |
Hence: the
critical sections here are very
|
|
short:
typically 10 instructions
|
|
|
n |
Solutions:
|
|
|
|
u |
uniprocessor:
disable interrupts during these
|
|
|
operations (ie:
for a very short period). This
|
|
|
|
does not work on
a multiprocessor machine.
|
|
|
|
u |
multiprocessor:
use previous software or
|
|
|
hardware schemes.
The amount of busy
|
|
|
|
waiting should be
small.
|
|