Invention Grant
- Patent Title: Marshaling results of nested tasks
- Patent Title (中): 封堵任务的结果
-
Application No.: US12719700Application Date: 2010-03-08
-
Publication No.: US08392922B2Publication Date: 2013-03-05
- Inventor: Stephen H. Toub , Joseph E. Hoag , John J. Duffy , Danny S. Shih
- Applicant: Stephen H. Toub , Joseph E. Hoag , John J. Duffy , Danny S. Shih
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Workman Nydegger
- Main IPC: G06F9/46
- IPC: G06F9/46

Abstract:
The present invention extends to methods, systems, and computer program products for marshaling results of nested tasks. Unwrap methods are used to reduce the level of task nesting and insure that appropriate results are marshaled between tasks. A proxy task is used to represent the aggregate asynchronous operation of a wrapping task and a wrapped task. The proxy task has a completion state that is at least indicative of the completion state of the aggregate asynchronous operation. The completion state of the aggregate asynchronous operation is determined and set from one or more of the completion state of the wrapping task and the wrapped task. The completion state of the proxy task can be conveyed to calling logic to indicate the completion state of the aggregate asynchronous operation to the calling logic.
Public/Granted literature
- US20110219380A1 MARSHALING RESULTS OF NESTED TASKS Public/Granted day:2011-09-08
Information query