0
$\begingroup$

I am thinking of techniques that we can implement in order to avoid deadlocks in processes. While I am aware of some tactics, e.g. killing a process when we reach a deadlock, or using spooling, would there be any other viable solutions?

For example, can we adjust a process to be executed if it is urgent, and has higher priority for execution, or maybe execute a process which asks for the smallest amount of resources? Or even, depending on the resource, we remove it from a process which has reached a deadlock and then re-use it by giving it again to the processes?

$\endgroup$
2
  • $\begingroup$ Wikipedia has some suggestions. $\endgroup$ Commented Jan 30, 2021 at 13:53
  • $\begingroup$ Also look at priority ceiling and priority inheritance. The overarching topic you're looking for is likely scheduling $\endgroup$ Commented Jan 31, 2021 at 10:35

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.