1Z0-804 · Question #79
Given the fragment: If thread a and thread b are running, but not completing, which two could be occurring?
The correct answer is A. livelock B. deadlock. A: A thread often acts in response to the action of another thread. If the other thread's action is also a responseto the action of another thread, then livelock may result. A thread often acts in response to the action ofanother thread. If the other thread's action is also a…
Question
Given the fragment:
If thread a and thread b are running, but not completing, which two could be occurring?
Exhibit
Options
- Alivelock
- Bdeadlock
- Cstarvation
- Dloose coupling
- Ecohesion
How the community answered
(20 responses)- A80% (16)
- C10% (2)
- D5% (1)
- E5% (1)
Explanation
A: A thread often acts in response to the action of another thread. If the other thread's action is also a responseto the action of another thread, then livelock may result. A thread often acts in response to the action ofanother thread. If the other thread's action is also a response to the action of another thread, then livelock mayresult. B: Deadlock describes a situation where two or more threads are blocked forever, waiting for
Topics
Community Discussion
No community discussion yet for this question.
