×

Computer-implemented system and method for lock handling

  • US 7,380,073 B2
  • Filed: 11/26/2003
  • Issued: 05/27/2008
  • Est. Priority Date: 11/26/2003
  • Status: Active Grant
First Claim
Patent Images

1. A memory for storing a computer-implemented shared locking data store for handling multiple executable entities'"'"' access to at least one resource, said shared locking data store being stored in a computer memory, said shared locking data store comprising:

  • write requested data that is indicative of when a write request for the resource has been made;

    writer active data that is indicative of whether a writer process is actively undergoing a write operation with respect to the resource;

    wait event posted data, wherein the wait event posted data is indicative of whether a read request to the resource has completed, wherein the wait event posted data is used to indicate when a write request can access the resource;

    reader data that is indicative of whether a reader process is active and attempting to read from the resource;

    wherein the shared locking data store allows writer and reader locking state information to be determined so that access to the resource can be handled;

    wherein encapsulation of both lock status data and the reader data in the shared locking data store allows a hardware atomic operation to operate upon both the lock status data and the reader data as a single unit for determining how access to the resource is to be handled;

    wherein the multiple executable entities'"'"' access is a concurrent access to the at least one resource;

    wherein a set status for the write requested data indicates whether an operating system (OS) mutex lock is to be used for processing access to the resource and is used to avoid an OS mutex lock when no writer process is pending.

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