×

Mechanisms to detect priority inversion

  • US 8,689,223 B2
  • Filed: 11/18/2008
  • Issued: 04/01/2014
  • Est. Priority Date: 11/18/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method for identifying priority inversion, comprising:

  • receiving a higher priority thread;

    receiving a lower priority thread;

    executing a debugging application for debugging;

    requesting and holding a resource by the lower priority thread;

    hitting a break point by the lower priority thread;

    preempting the lower priority thread by the higher priority thread, wherein debugging stops until the higher priority thread completes;

    requesting, by the higher priority thread, the resource being held by the lower priority thread; and

    determining whether priority inversion occurs;

    wherein a priority of the higher priority thread and the lower priority thread are configured to be changed during a debug mode;

    associating break point priority to the higher priority thread, a middle priority thread, and to the lower priority thread, in which when the higher priority thread hits its high priority breakpoint, the high priority break point causes all lower priority threads to break including the middle priority thread and the lower priority thread;

    wherein when the middle priority thread hits its middle priority break point, the lower priority thread breaks while the higher priority thread continues running to identify priority inversion.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×