×

A DATA PROCESSING APPARATUS AND METHOD FOR PERFORMING LOCK-PROTECTED PROCESSING OPERATIONS FOR MULTIPLE THREADS

  • US 20170139757A1
  • Filed: 05/19/2015
  • Published: 05/18/2017
  • Est. Priority Date: 07/08/2014
  • Status: Active Grant
First Claim
Patent Images

1. A data processing apparatus for executing a plurality of threads, comprising:

  • processing circuitry configured to perform processing operations required by said plurality of threads, said processing operations including a lock-protected processing operation with which a lock is associated, the lock needing to be acquired before the processing circuitry performs the lock-protected processing operation; and

    baton maintenance circuitry configured to maintain a baton in association with the plurality of threads, the baton forming a proxy for the lock, and the baton maintenance circuitry being configured to allocate the baton between the plurality of threads;

    the processing circuitry being configured to communicate with the baton maintenance circuitry so that, once the lock has been acquired for one of said plurality of threads, the processing circuitry performs the lock-protected processing operation for multiple threads of said plurality of threads before the lock is released, the baton maintenance circuitry being configured to identify a current thread amongst said multiple threads for which the lock-protected processing operation is to be performed by allocating the baton to that current thread.

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