发明名称 DURABLE PROGRAM EXECUTION
摘要 Aspects of the subject matter described herein relate to durable program execution. In aspects, a mechanism is described that allows a program to be removed from memory when the program is waiting for an asynchronous operation to complete. When a response for the asynchronous operation is received, completion data is stored in a history, the program is re-executed and the completion data in the history is used to complete the asynchronous operation. The above actions may be repeated until no more asynchronous operations in the history are pending completion.
申请公布号 US2014282577(A1) 申请公布日期 2014.09.18
申请号 US201313798152 申请日期 2013.03.13
申请人 MICROSOFT CORPORATION 发明人 Abbas Samar;Shyamsundar Balasubramanian;Hewawasam Rohitha;Welicki Leon E.
分类号 G06F9/50 主分类号 G06F9/50
代理机构 代理人
主权项 1. A method implemented at least in part by a computer, the method comprising: commencing execution of a program; executing code of the program, the code indicating a first asynchronous operation, the first asynchronous operation completing independently of the program; checking a history to determine whether the history indicates a response to the first asynchronous operation has been received; if the response has been received, obtaining completion data from the history and providing the completion data to the program; if the response has not been received, scheduling a task to make a request to an asynchronous component and, if the first asynchronous operation is blocking, removing the program from memory.
地址 Redmond WA US