×

Deadlock resolution through lock requeuing

  • US 20040199734A1
  • Filed: 04/03/2003
  • Published: 10/07/2004
  • Est. Priority Date: 04/03/2003
  • Status: Active Grant
First Claim
Patent Images

1. A method for resolving a deadlock in a computing system, comprising:

  • identifying a first request for an exclusive lock that is associated with a resource, the first request forming part of a deadlock in which the deadlock cannot be resolved unless the first request is granted;

    allowing a period of time for the first request to be granted;

    if the first request cannot be granted during the period of time, then identifying whether a second request for a shared lock exists behind the first request in a lock request queue; and

    reordering the lock request queue to place the second request ahead of the first request in the lock request queue, wherein the present configuration of locks allows the second request to be granted, and the granting of the second request initiates a chain of resource accesses that resolves the deadlock and allows the first request to be granted.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×