发明名称 Method for efficient handling of asynchronous events in a dynamic translation system
摘要 A method for operating a computer to allow the running of a source program written for a first computer on a second computer. The second computer is assumed to include a branch taken trap. The method defines a plurality of collection points in the source program. A trap handling routine is supplied for processing traps. The trap handling routine determines whether execution has halted because of a branch taken trap at one of the collection points, and if so, retrieves information identifying an event from a queue and transferring the information and control to a handler in the source code. If execution has halted because of a branch taken trap at a location other than one of the collection points, execution of the source program is resumed with the branch taken trap armed. If execution has halted because of an asynchronous event, information specifying the event is stored in the queue, the branch taken trap is armed, and execution of the source program is resumed at the point at which execution was halted. The method may also be applied to optimizing compilers to provide a method for handling asynchronous interrupts in the optimized code.
申请公布号 US5933622(A) 申请公布日期 1999.08.03
申请号 US19970967392 申请日期 1997.11.08
申请人 HEWLETT-PACKARD COMPANY 发明人 BUZBEE, WILLIAM B.;MATTSON, JR., JAMES S.;SHAH, LACKY VASANT
分类号 G06F9/455;(IPC1-7):G06F9/455 主分类号 G06F9/455
代理机构 代理人
主权项
地址