×

Lock management system, lock management method and lock management program

  • US 9,891,962 B2
  • Filed: 03/26/2013
  • Issued: 02/13/2018
  • Est. Priority Date: 05/23/2012
  • Status: Active Grant
First Claim
Patent Images

1. A lock management method performed by a multi-processor, the method comprising the steps of:

  • carrying out a lock acquisition process for a thread according to one or more lock modes, at least a portion of the lock modes being a shared lock that can be acquired by one or more threads;

    managing the number of threads acquiring a lock, by first information which can express the number of threads by one word that can be handled by an indivisible access command of the multi-processor, and second information representing a whole range of the number of threads that can possibly acquire a lock in each lock mode;

    investigating the number of threads that have acquired a lock in a requested lock mode, from the first information;

    increasing a value of the first information by the indivisible access command and increasing a value of the second information by an indivisible calculation command, if the number of threads is less than a maximum value that can be expressed by the first information; and

    increasing the value of the second information by the indivisible access command if the number of threads is equal to or greater than the maximum value that can be handled by the first information.

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