×

Thread processing method and thread processing system for setting for each thread priority level of access right to access shared memory

  • US 9,690,619 B2
  • Filed: 10/18/2013
  • Issued: 06/27/2017
  • Est. Priority Date: 04/18/2011
  • Status: Active Grant
First Claim
Patent Images

1. A thread processing method executed by a specific apparatus, the method comprising:

  • assigning a plurality of threads to a plurality of apparatuses, wherein the plurality of threads are controlled to be synchronized with each other by the plurality of apparatuses and each of the plurality of threads executes processing to access a shared memory shared by the specific apparatus and the plurality of apparatuses;

    acquiring, for each of the plurality of apparatuses, first time information that indicates a time at which the specific apparatus receives an execution result of a thread assigned to the apparatus;

    calculating, for each of the plurality of apparatuses, a synchronization standby period during which the apparatus is in a synchronization-standby mode and that is a difference between the time indicated by the first time information and a time that is indicated by second time information and at which the specific apparatus receives a last execution result among execution results of threads that are assigned to the plurality of apparatuses; and

    setting, in an ascending order of the synchronization standby period, a priority level of an access right for each of the plurality of apparatuses to access the shared memory when executing a new thread that executes the processing to access the shared memory.

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