Priority Inversion is a classical Computer Science problem in the field of Operating system.
It is a problem where lower-priority get executed before higher-priority tasks as a part of scheduling in Operation Systems.
Felt that we see many such issues in our real life as-well ...
Problem description in more detail (to have the feel of it ) :-
--- Usually, in a scheduling algorithm for scheduling tasks, tasks are assigned some priorities ...
--- Priority inversion could probably happen due to
(a) Either in the mistake of assigning priorities which can take their priority all across time .... Do we need to make these priority assignments through some functions .... which vary upon time ... ???
(b) Or there is some gap in the executing algorithm .... :) ???
In Life also, we find many such instances ...
Ex - say
-- we are doing many activities ... and we would have assigned certain priorities (either statically or through function-calls)
-- And we start executing our own algorithm, .... guided by our Mind/Brain/Intellect/ and the entire body :) and also by the surrounding things (living and non-living) etc ...
We execute based on above two statements ... and after execution ... have felt( at-least I) that either we have had assigned the priorities wrongly or we have landed in the priority-inversion problem which our algorithm is not able to resolve ... :) :P
It is a problem where lower-priority get executed before higher-priority tasks as a part of scheduling in Operation Systems.
Felt that we see many such issues in our real life as-well ...
Problem description in more detail (to have the feel of it ) :-
--- Usually, in a scheduling algorithm for scheduling tasks, tasks are assigned some priorities ...
--- Priority inversion could probably happen due to
(a) Either in the mistake of assigning priorities which can take their priority all across time .... Do we need to make these priority assignments through some functions .... which vary upon time ... ???
(b) Or there is some gap in the executing algorithm .... :) ???
In Life also, we find many such instances ...
Ex - say
-- we are doing many activities ... and we would have assigned certain priorities (either statically or through function-calls)
-- And we start executing our own algorithm, .... guided by our Mind/Brain/Intellect/ and the entire body :) and also by the surrounding things (living and non-living) etc ...
We execute based on above two statements ... and after execution ... have felt( at-least I) that either we have had assigned the priorities wrongly or we have landed in the priority-inversion problem which our algorithm is not able to resolve ... :) :P