发明名称 Plug-in task scheduler
摘要 A parallel execution runtime allows tasks to be executed concurrently in a runtime environment. The parallel execution runtime delegates the implementation of task queuing, dispatch, and thread management to one or more plug-in schedulers in a runtime environment of a computer system. The plug-in schedulers may be provided by user code or other suitable sources and include interfaces that operate in conjunction with the runtime. The runtime tracks the schedulers and maintains control of all aspects of the execution of tasks from user code including task initialization, task status, task waiting, task cancellation, task continuations, and task exception handling.
申请公布号 US9141422(B2) 申请公布日期 2015.09.22
申请号 US201012782684 申请日期 2010.05.18
申请人 Microsoft Technology Licensing, LLC 发明人 Toub Stephen H.;Yildiz Huseyin S.;Hoag Joseph E.;Duffy John J.;Shih Danny
分类号 G06F9/46;G06F9/48 主分类号 G06F9/46
代理机构 代理人 Sullivan Kevin;Hoff Aaron;Minhas Micky
主权项 1. A computer-readable storage medium, which does not include transitory propagating signals, storing computer-executable instructions that, when executed by at least one computer system, perform a method comprising: initializing a first task from user code for execution with a parallel execution runtime configured to allow the first task to be executed concurrently with a set of other tasks from the user code in a runtime environment; maintaining a task status corresponding to the first task with the parallel execution runtime; providing the first task to a first plug-in scheduler specified by the user code with the parallel execution runtime, the parallel execution runtime maintaining a list of active schedulers that includes the first plug-in scheduler; and invoking the first task with the parallel execution runtime responsive to the first plug-in scheduler.
地址 Redmond WA US