124
Semaphores: observations
nHence: the critical sections here are very short: typically 10 instructions
nSolutions:
uuniprocessor: disable interrupts during these operations (ie: for a very short period). This does not work on a multiprocessor machine.
umultiprocessor: use previous software or hardware schemes. The amount of busy waiting should be small.
n