×

Boosting user thread priorities to resolve priority inversions

  • US 10,579,417 B2
  • Filed: 04/26/2017
  • Issued: 03/03/2020
  • Est. Priority Date: 04/26/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method implemented in a computing device, the method comprising:

  • in response to determining to switch contexts in the computing device, retrieving lock data from a lock buffer of a user-mode thread being switched out, the lock data including an identifier identifying one or more resources that the user-mode thread has locked;

    adding the retrieved lock data to a lock record that is associated with a process that includes the user-mode thread;

    determining, based on the lock record and the lock data, whether the user-mode thread is in a priority inversion; and

    increasing a priority of the user-mode thread in response to determining that the user-mode thread is in a priority inversion.

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