Priority Inversion

The family arrives home and suddenly realizes that grandma is scheduled to visit in fifteen minutes. The parents ask the older child, June, to tidy and vacuum the front hall. William, the younger, and rather inefficient, child is assigned the playroom. As it happens, William moves fast enough to take possession of the vacuum cleaner before June finishes tidying the front hall. When she goes for the vacuum cleaner, she finds it in use. She has to wait until William finishes vacuuming the playroom. Grandma arrives long before William is finished vacuuming the playroom. The front hall cleaning task does not meet its deadline, and the parents are deeply embarrassed.[2]

[2] Since the time June will wait for the vacuum is bounded ...

Get Real-Time Java™ Platform Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.