Which of the following statements is false?
a. A runnable thread can enter the timed waiting state for a specified interval of time. It transitions back to the runnable state when that time interval expires or when the event it’s waiting for occurs.
b. Timed waiting threads and waiting threads can use a processor, if one is available.
c. A runnable thread can transition to the timed waiting state if it provides an optional wait interval when it’s waiting for another thread to perform a task. Such a thread returns to the runnable state when it’s notified by another thread or when the timed interval expires—whichever comes first.
d. Another way to place a thread in the timed waiting state is to put a runnable thread to sleep—a sleeping thread remains in the timed waiting state for a designated period of time (called a sleep interval), after which it returns to the runnable state.
b. Timed waiting threads and waiting threads can use a processor, if one is available. Actually, timed waiting threads and waiting threads cannot use a processor, even if one is available.
You might also like to view...
When an error occurs, an exception is
A) created. B) thrown. C) passed. D) ignored. E) None of the above
A three-phase commit protocol has the following parts: Phase 1: is the same as for two-phase commit. Phase 2: the coordinator collects the votes and makes a decision; if it is No, it aborts and informs participants that voted Yes; if the decision is Yes, it sends a preCommit request to all the participants. participants that voted Yes wait for a preCommit or doAbort request. They acknowledge preCommit requests and carry out doAbort requests. Phase 3: the coordinator collects the acknowledgments. When all are received, it Commits and sends doCommit to the participants. participants wait for a doCommit request. When it arrives they Commit. Explain how this protocol avoids delay to participants during their ‘uncertain’ period due to the failure of the coordinator or other participant
What will be an ideal response?
A join line displays in the Relationships window whenever two tables are related based on a common field
Indicate whether the statement is true or false
Which device is used to boost a signal?
a. Hub b. Repeater c. Switch d. Router