Given the fragment:
If thread a and thread b are running, but not completing, which two could be occurring?
A.
livelock
B.
deadlock
C.
starvation
D.
loose coupling
E.
cohesion
Explanation:
A:A thread often acts in response to the action of another thread. If the other thread’s action is also a response to the action of another thread, then livelock may result. A thread often acts in response to the action of another thread. If the other thread’s action is also a response to the action of another thread, then livelock may result.
B:Deadlock describes a situation where two or more threads are blocked forever, waiting for each other.
Answers : AB