Marshaling results of nested tasks

A technology of tasks and components, applied in the direction of multi-programming devices, etc., can solve problems such as abnormal logic considerations and difficulty in cancellation

Active Publication Date: 2011-09-21
MICROSOFT TECH LICENSING LLC
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Coding such logic is non-trivial and relatively difficult if the logic takes into account exceptions, cancellations, etc.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Marshaling results of nested tasks
  • Marshaling results of nested tasks
  • Marshaling results of nested tasks

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The present invention relates to methods, systems and computer program products for grouping the results of nested tasks. For example, embodiments of the invention facilitate marshalling the state of one task into another task. A call to a wrapped task is received from the calling logic. A wrapped task has a result represented by a wrapped task wrapped within the wrapped task.

[0033] Creates a proxy task that represents the wrapper task and the aggregated asynchronous operations of the wrapped task. The proxy task has a completion status indicating at least the completion status of the aggregated asynchronous operation. In general, the completion status of a task (including any of a wrapper task, a wrapped task, and a proxy task) can be one of: towards completion with result data, failure with exception data, or cancelled. However, other completion states are also possible. The proxy task is returned to the calling logic without the calling logic waiting for t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

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.

Description

[0001] Cross References to Related Applications [0002] Not applicable. technical field [0003] The present invention relates to the results of nested tasks, and more particularly to the marshalling of the results of nested tasks. Background technique [0004] 1. Background and related technologies [0005] Computer systems and related technologies affect many aspects of society. Indeed, the ability of computer systems to process information has transformed the way people live and work. Computer systems now routinely perform many tasks (eg, word processing, scheduling, accounting, etc.) that were performed manually before the advent of computer systems. More recently, computer systems have been coupled to each other and to other electronic devices to form wired and wireless computer networks over which the computer systems and other electronic devices can communicate electronic data. Accordingly, the performance of many computing tasks is distributed across multiple d...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/46
CPCG06F9/46
Inventor S·H·托布J·E·霍格J·J·达菲D·S·谢哈
Owner MICROSOFT TECH LICENSING LLC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products