Avoiding Priority Inversion
In many practical applications, resources are shared and the unmodified RMS will be subject to priority inversion and deadlock hazards. In practice, this is solved by introducing priority inheritance. Alternative methods are to use lock free algorithms or avoid the sharing of a mutex/semaphore across threads with different priorities. This is so that resource conflicts cannot result in the first place.
Read more about this topic: Rate-monotonic Scheduling
Famous quotes containing the words avoiding and/or priority:
“Children must eventually train their own children, and any impoverishment of their impulse life, for the sake of avoiding friction, must be considered a possible liability affecting more than one lifetime”
—Erik H. Erikson (20th century)
“Weekend planning is a prime time to apply the Deathbed Priority Test: On your deathbed, will you wish youd spent more prime weekend hours grocery shopping or walking in the woods with your kids?”
—Louise Lague (20th century)