The term _______ refers to a technique in which a process can do nothing until it gets permission to enter its critical section but continues to execute an instruction or set of instructions that tests the appropriate variable to gain entrance.

A) spin waiting
B) general semaphore
C) critical resource
D) message passing


A) spin waiting

Computer Science & Information Technology

You might also like to view...

What is the problem (if any) with the following Select Case block which is intended to determine the price of a movie depending on the patron's age?

``` Private Sub btnDisplay_Click(...) Handles btnDisplay.Click Dim age as Integer, price As Decimal age = CInt(InputBox("Enter your age:")) Select Case age Case Is >= 65 'Senior citizen price = 4.50D Case Is >= 5 'Regular price price = 6.00D Case Is .= 0 'Child (no charge with parents) price = 0 Case Else txtBox.Text = "Entry error" End Select End Sub ``` (A) Everyone will get in free at the child rate. (B) The output will always be "Entry error." (C) The Case Is statements have bad syntax. (D) There is nothing wrong.

Computer Science & Information Technology

Which statement describing overloaded functions is false?

A. The return type can be the only difference. B. Each function has its own function prototype. C. Functions can have different input types. D. Functions can have different numbers of input parameters.

Computer Science & Information Technology

ANOVA stands for ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

The fourth step in the troubleshooting process is to establish a(n) _____

Fill in the blank(s) with correct word

Computer Science & Information Technology