×

Software locking mechanism for locking shared resources in a data processing system

  • US 6,076,126 A
  • Filed: 06/30/1997
  • Issued: 06/13/2000
  • Est. Priority Date: 06/30/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of providing lock services for shared resources comprising the steps of:

  • transmitting by a first processor, a read request over a bus to a first entry in a lock record data structure;

    reading data from said first entry into a first buffer, said data identifying one of said shared resources and indicating whether said shared resource is locked by a second processor;

    examining said data to determine if said shared resource is locked by said second processor;

    preparing new data for writing to said lock record data structure, said new data identifying said first processor and indicating that said first processor owns a lock on a first resource;

    transmitting said data and said new data to said lock record data structure;

    re-reading data from said first entry from said lock record data structure;

    comparing said re-read data to said data; and

    if said re-read data matches said data, writing said new data to said entry in said lock record data structure.

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