×

Managing sequenced lock requests

  • US 8,595,729 B2
  • Filed: 11/06/2006
  • Issued: 11/26/2013
  • Est. Priority Date: 11/06/2006
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • assigning a sequence number to a first software thread;

    determining if said sequence number of said first software thread matches a current sequence number of a software lock, and if said sequence number of said first software thread does not match said current sequence number of said software lock, said method further comprising;

    placing said first software thread into a wait queue, said wait queue comprising said first software thread and at least a second software thread, wherein said second software thread precedes said first software thread in said wait queue;

    receiving, by said first software thread, a notification of an updated current sequence number;

    determining if said sequence number of said first software thread matches said updated current sequence number;

    acquiring said software lock and removing said first software thread from said wait queue if said sequence number of said first software thread matches said updated current sequence number; and

    remaining in said wait queue and passing said notification to said second software thread if said updated current sequence number does not match said sequence number of said first software thread.

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