Language-based model for asynchronous operations
Abstract
A language-based model to support asynchronous operations set forth in a synchronous syntax is provided. The asynchronous operations are transformed in a compiler into an asynchronous pattern, such as an APM-based pattern (or asynchronous programming model based pattern). The ability to compose asynchronous operations comes from the ability to efficiently call asynchronous methods from other asynchronous methods, pause them and later resume them, and effectively implementing a single-linked stack. One example includes support for ordered and unordered compositions of asynchronous operations. In an ordered composition, each asynchronous operation is started and finished before another operation in the composition is started. In an unordered composition, each asynchronous operation is started and completed independently of the operations in the unordered composition.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 48 · Forward citations: 0.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method of providing asynchronous operations, comprising: receiving a plurality of operations composed in a synchronous syntax, the synchronous syntax distinguishable from an asynchronous pattern, the plurality of operations including a first asynchronous operation and a second asynchronous operation; defining the first asynchronous operation and the second asynchronous operation as asynchronous operations in the synchronous syntax; and compiling the defined asynchronous operations in which the first asynchronous operation calls the second the asynchronous operation from a linked stack.
- Claim 2Depends on #1
The method of claim 1 comprising: applying a modifier to define the asynchronous operations.
- Claim 3Depends on #2
The method of claim 2 including implementing the modifier with a language extension keyword.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (48)
Non-Patent Literature (5)
- "An Overview of Key New Visual Studio 2005 Features", retrieved at <<http://msdn.microsoft.com/en-us/library/ms364072(VS.80).aspx>>, Nov. 2005. pp. 54.
- "ASYNC Loop Constructs for Relaxed Synchronization" by Russell Meyers and Zhiyuan Li, 21th Annual Workshop on Languages and Compilers for Parallel Computing (LCPC 2008), Edmonton, Alberta, Canada, Jul. 31 Aug. 2, 2008.
- "Asynchronous Programming Overview", retrieved at <<http://msdn.microsoft.com/en-us/library/ms228963(VS.80).aspx>>, pp. 5.
- "Charles", "Jeffrey Richter and his AsyncEnumerator", retrieved at <<http://channel9.msdn.com/posts/Charles/Jeffrey-Richter-and-his-AsyncEnumerator/>>, Dec. 3, 2008. pp. 4.
- "Hrishikeshdewan", "Asynch Programming Pattern and Model", retrieved at <<http://csharpusersgroup.wordpress.com/2007/12/29/asynch-programming-pattem-and-model/>>, Dec. 29, 2007. pp. 4.