Re: [algogeeks] priority inversion

2011-06-21 Thread dinesh bansal
Priority inversion happens when a higher priority task is help blocked by a lesser priority task. Suppose a system has a low priority task L, a high priority task H and few medium priority tasks. Now resource R has been locked by L and goes to sleep due to other medium priority tasks coming in.

[algogeeks] priority inversion

2011-06-20 Thread ricky
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

Re: [algogeeks] priority inversion

2011-06-20 Thread Anand
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