×

Approach for context switching of lock-bit protected memory

  • US 9,678,897 B2
  • Filed: 12/27/2012
  • Issued: 06/13/2017
  • Est. Priority Date: 12/27/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for processing atomic operations for a plurality of threads in a multi-threaded architecture, the method comprising:

  • receiving a first request from a first thread in a first thread group to acquire access to a first memory location in a lock-protected shared memory;

    determining whether a first address lock in a plurality of address locks is asserted, wherein the first address lock is associated with the first memory location;

    if the first address lock is asserted, thenrefusing the first request;

    orif the first address lock is not asserted, thenasserting the first address lock;

    asserting a first thread group lock in a plurality of thread group locks, wherein the first thread group lock is associated with the first thread group; and

    granting the first request.

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