×

Methods and apparatus for locking at least a portion of a shared memory resource

  • US 10,191,852 B2
  • Filed: 09/22/2016
  • Issued: 01/29/2019
  • Est. Priority Date: 02/29/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method for locking a shared memory, comprising:

  • attempting to lock at least a portion of the shared memory by a first processor;

    verifying whether a second processor has locked the at least the portion of the shared memory;

    responsive to determining that the at least the portion of the shared memory is successfully locked based on the verifying whether the second processor has locked the at least the portion of the shared memory, executing a critical section, the critical section comprising one or more computer instructions accessible only to the first processor; and

    otherwise, responsive to determining, based on the verifying whether the second processor has locked the at least the portion of the shared memory, that the at least the portion of the shared memory is not successfully locked, attempting to lock the at least the portion of the shared memory at a later time.

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