But if low priority process is preempted then it should give up its resources right?
On Jun 20, 10:30 am, Anand <anandut2...@gmail.com> wrote: > What if low priority process holds a lock to some critical section which > high priority process when allowed for execution needs it. So if low > priority process is pre-empted with out giving up the resouces, might give > rise to dead lock. > > > > > > > > On Mon, Jun 20, 2011 at 10:05 AM, ricky <moon.afr...@gmail.com> wrote: > > In priority inversion the high priority process has to wait for the > > low priority process. why can't it just preempt the low priority one > > instead of waiting? Is it becoz it will jeopardize system stability > > or something else? > > > -- > > You received this message because you are subscribed to the Google Groups > > "Algorithm Geeks" group. > > To post to this group, send email to algogeeks@googlegroups.com. > > To unsubscribe from this group, send email to > > algogeeks+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/algogeeks?hl=en. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.