For the sake of clarity, in this example, we have chosen to represent the physical model with a high-level illustrateddiagram first, and then with a more detailed textual one.
One of the simplest examples of priority inversion, illustrated in the top diagram in Figure 2, involves three threads: one high (h), one medium (m), and one low (l) priority thread.