发明名称 Hardware method for implementing atomic semaphore operations using code macros
摘要 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.
申请公布号 US6857036(B2) 申请公布日期 2005.02.15
申请号 US20010907072 申请日期 2001.07.17
申请人 HEWLETT PACKARD DEVELOPMENT COMPANY, L.P. 发明人 LESARTRE GREGG B.
分类号 G06F9/46;G06F9/48;(IPC1-7):G06F12/00;G06F12/14 主分类号 G06F9/46
代理机构 代理人
主权项
地址