Which of the following statements is false?
a. A common way to perform synchronization is to use Java’s built-in monitors.
b. Every object has a monitor and a monitor lock (or intrinsic lock).
c. A monitor ensures that its object’s monitor lock is held by a maximum of two threads at a time.
d. Monitors and monitor locks can be used to enforce mutual exclusion.
c. A monitor ensures that its object’s monitor lock is held by a maximum of two threads at a time. Actually, a monitor ensures that its object’s monitor lock is held by a maximum of only one thread at any time.
You might also like to view...
In creating C++ functions we must be concerned with both the function itself and how it interacts with other functions, such as main().
Answer the following statement true (T) or false (F)
A ____________________ is the structure of a database, including its tables, fields, and relationships.
Fill in the blank(s) with the appropriate word(s).