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):

  1. mutual exclusion
  2. acquire , wait
  3. no preemption
  4. 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

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -