×

Resource locking and thread synchronization in a multiprocessor environment

  • US 6,782,440 B2
  • Filed: 07/25/2001
  • Issued: 08/24/2004
  • Est. Priority Date: 07/26/2000
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • receiving a request from a requesting software to access a protected shared resource, the protected shared resource currently being accessed by another requesting software;

    designating a proxy value to represent the requesting software;

    adding the proxy value to a queue of proxy values contained in a lock register;

    suspending execution of the requesting software;

    determining when the protected shared resource is no longer being accessed by another requesting software;

    if the proxy value representing the requesting software is first in the queue of proxy values, resuming execution of the requesting software using the proxy value;

    if the proxy value representing the requesting software is first in the queue of proxy values, allowing the requesting software to access the protected shared resource using the proxy value;

    if the proxy value representing the requesting software is first in the queue of proxy values, upon completion of access to the protected shared resource by the requesting software, removing the proxy value representing the requesting software from the queue of proxy values; and

    if there is no next proxy value in the queue of proxy values, writing a release value to the lock register.

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