发明名称 Method and system for providing event-response capabilities to pseudocode
摘要 A method and system for providing event-response and monitoring capabilities to a pseudocode program operating in a message or event-based operating environment. The method and system allow the pseudocode program to asynchronously respond to events via one or more trap routines located in the pseudocode program. The method and system also allow the pseudocode program to synchronously monitor events and receive parameters from operating system routines via callback routines located in the pseudocode program. The system includes an execution engine for executing instructions of the pseudocode program. An event-response routine in the pseudocode program includes instructions for responding to the event. An event-response dispatcher is adapted to receive information identifying the event-response routine, save the execution state of the execution engine, cause the execution engine to execute the event-response routine, and restore the execution state of the execution engine that existed before the event-response routine was executed. A transfer routine accessible in response to a call triggered by the event accesses the event-response dispatcher, passes information identifying the event-response routine to the event-response dispatcher, and returns control to the execution engine after the event-response dispatcher restores the state of the execution engine and returns to the transfer routine.
申请公布号 US5628017(A) 申请公布日期 1997.05.06
申请号 US19960593544 申请日期 1996.01.29
申请人 MICROSOFT CORPORATION 发明人 KIMMERLY, RANDY S.;SAILE, ROBERT E.
分类号 G06F9/46;(IPC1-7):G06F9/40 主分类号 G06F9/46
代理机构 代理人
主权项
地址