The solution for n-thread mutual exclusion presented by Eisenberg and McGuire65 guarantees that any single process will enter its critical section within n–1 tries in the worst case. Should one hope for better performance with n processes?

What will be an ideal response?


In the worst case, all n processes will contend to enter their critical sections at the same time. Since the bound has to apply to all n processes, and only one process can be in its critical section at a time, it would be impossible to guarantee that all processes will enter their critical sections in less than n ? 1 tries in the worst case.

Computer Science & Information Technology

You might also like to view...

Frequency analysis refers to:

a. Analyzing the rate of occurrence of characters in ciphertext b. Eavesdropping on spread-spectrum radio frequency transmission in order to harvest encryption keys c. Analyzing the rate of occurrence of characters in plaintext d. Analysis of emanations in order to harvest encryption keys

Computer Science & Information Technology

Which of the following refers to a prolonged increase in voltage (minutes or hours)?

A) Power surge B) Power spike C) Sag D) Fault

Computer Science & Information Technology

The limiting condition for a recursive method using a list might be the number of elements in the list.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

When you create an image with transparent content, the image does not have a traditional ____________________ layer.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology