Rate-monotonic Scheduling - Avoiding Priority Inversion

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 no avoiding war; it can only be postponed to the advantage of others.
    Niccolò Machiavelli (1469–1527)

    Weekend planning is a prime time to apply the Deathbed Priority Test: On your deathbed, will you wish you’d spent more prime weekend hours grocery shopping or walking in the woods with your kids?
    Louise Lague (20th century)