Hardware method for implementing atomic semaphore operations using code macros
AssigneeHewlett-Packard Development Company, L.P.
InventorGregg B. Lesartre
Life of this patent
Estimating the term…
Loading patent…
AssigneeHewlett-Packard Development Company, L.P.
InventorGregg B. Lesartre
Estimating the term…
A method is disclosed for handling interruptions, such as asynchronous interrupts, of a process using a system resource. The method determines whether a process is currently using a system resource. If a resource is being used and the system receives an interruption, then the method logs the interruption and delays accepting the interruption until after the process currently using the resource is completed. The method may be implemented in a system that controls access of processes to resources using semaphores that lock the resources while in use. The method determines whether a resource is currently in use by detecting a load and clear operation, indicating that a semaphore has locked the resource. The method delays acceptance of the interruption until either a branch command is executed, a store command is executed, a specified number of instructions are retired, or a specified number of clock cycles pass.
A method of controlling interruption of a computer process using a system resource, the method comprising:
A method of handling interruptions of a system process that has locked a semaphore for a resource, the method comprising:
Dependencies are inferred from the claim text.