multithreading - If starvation of processes is occurred, does it mean that there will be a deadlock? -
if starvation of processes occurred, mean there deadlock ??? explanation if yes, , if no ?!
there 4 necessary , sufficient conditions deadlock occur (called coffman conditions):
- mutual exclusion
- acquire , wait
- no preemption
- circular wait
what you're asking is, essentially: will deadlock occur if there's (albeit indefinite) wait?. answer is: no. 4 conditions must met in order deadlock occur.
see more here on wikipedia.
Comments
Post a Comment