发明名称 RESUMABLE METHODS
摘要 APIs are provided, that are external to a programming language but that provide functionality that can be plugged into a language compiler. The provided APIs tailor functionality associated with asynchronous programming, iterators or writing symmetric co-routines using a generalized pattern-based approach. Several types of resumable methods are provided in the APIs which can be applied to method bodies written in traditional program code. Syntactically distinguishable control points in method bodies written in traditional program code invoke transformation of the code by the compiler using the external APIs. The transformed code enables the pausing and resumption of the code sandwiched between control points in the transformed code. The source code contained within a method having control points in it is transformed so that code within the method can be executed in discrete parts, each part starting and ending at a control point in the transformed code.
申请公布号 EP2564316(A2) 申请公布日期 2013.03.06
申请号 EP20110777930 申请日期 2011.04.26
申请人 MICROSOFT CORPORATION 发明人 MEIJER, HENRICUS JOHANNES MARIA;TORGERSEN, MADS;GAFTER, NEAL M.;GUSTAFSSON, NIKLAS
分类号 G06F9/44;G06F9/45 主分类号 G06F9/44
代理机构 代理人
主权项
地址