which two could be occurring?

Given the fragment:

If thread a and thread b are running, but not completing, which two could be occurring?

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 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 each
other.



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Humberto Bañuelos Flores

Humberto Bañuelos Flores

ClassCastException, MyClass cant cast to OtherThread

peter

peter

Incomplete question. What is OtherThread?