Skip to main content
deleted 8 characters in body
Source Link
Yuval Filmus
  • 280.9k
  • 27
  • 320
  • 518

Cheers, so I wasam thinking of waystechniques 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 resourcesresources? 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 onto the processes? Thanks

Cheers, so I was thinking of ways 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 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 on the processes? Thanks

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?

Source Link

Different ways to avoid deadlocks

Cheers, so I was thinking of ways 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 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 on the processes? Thanks