Mutex or semaphore?
A printer pool has 3 identical printers. Any number of processes may want one, and each must have exclusive use of a printer while printing.
Which primitive fits, and why?
A printer pool has 3 identical printers. Any number of processes may want one, and each must have exclusive use of a printer while printing.
Which primitive fits, and why?