发明名称 VARIABLE CLOSURE
摘要 A system and method for accessing closure variables from a lambda expression in certain program configurations, in which the closure variable is accessed while the closure function is active and the closure variable is within an active runtime frame stack corresponding to an instance of the closure function. In response to entering the closure function, a pointer to each closure variable is stored in a stack pointer table. Each reference to each closure variable from the lambda expression is handled by using the closure variable pointer to locate the closure variable on the runtime stack. Program code may be instrumented to insert invocations to helper functions at locations upon entering the closure function and at each reference to each closure variable from the lambda expression.
申请公布号 US2011239186(A1) 申请公布日期 2011.09.29
申请号 US20100730263 申请日期 2010.03.24
申请人 MICROSOFT CORPORATION 发明人 ZINKOVSKY IGOR;KANTAMNENI HARISH
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址