In a producer/consumer relationship, when a consumer finds the buffer empty or finds that the previous data has already been read, the consumer should call __________.
a. lock
b. signal
c. sleep
d. await.
d. await.
You might also like to view...
Which of the following statements is true?
a. Local variables are automatically initialized. b. Every instance variable has a default initial value—a value provided by Java when you do not specify the instance variable’s initial value. c. The default value for an instance variable of type String is void. d. The argument types in the method call must be identical to the types of the corresponding parameters in the method’s declaration.
Which antenna type can be used for short to medium range outdoor applications and focuses the energy in one direction?
A. omnidirectional B. unidirectional C. semidirectional D. highly-directional
The statement if (document.getElementById) returns ____ when a browser is compatible with the W3C's version of DHTML.
A. false B. true C. yes D. an error message
An instruction set, also called a(n) ________, provides a means to interact with and use a computer.
Fill in the blank(s) with the appropriate word(s).