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:
“There is all the difference in the world between the criminals avoiding the public eye and the civil disobedients taking the law into his own hands in open defiance. This distinction between an open violation of the law, performed in public, and a clandestine one is so glaringly obvious that it can be neglected only by prejudice or ill will.”
—Hannah Arendt (19061975)
“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)