发明名称 ASYNCHRONOUS TASK MULTIPLEXING AND CHAINING
摘要 The described technology is directed towards sharing asynchronous (async) tasks between task chains, including in a way that prevents cancellation of lower-level chain entity from cancelling a shared async task. A shared async task is wrapped in multiplexer code that maintains lower-level entity identities as a set of listeners of the shared async task, and when a listener cancels, only removes that listener from the set of listeners so that the shared async task does not cancel as long as one listener remains in the set. Also described is optimization to share an async task, and wrapping tasks in cancel-checking code that prevents the task from running its work if the task is intended to be cancelled but is queued to run before the cancel request is queued to run.
申请公布号 US2017109201(A1) 申请公布日期 2017.04.20
申请号 US201615395481 申请日期 2016.12.30
申请人 Home Box Office, Inc. 发明人 Parker J. Jordan C.;Furtwangler Tyler R.;Furtwangler Brandon C.;Furtwangler Nathan J. E.;Finnigan Patrick
分类号 G06F9/48;G06F9/54 主分类号 G06F9/48
代理机构 代理人
主权项 1. A method performed at least in part on at least one machine, comprising: multiplexing an async task that is identified in at least two task chains, including sharing results of the async task between a listener set comprising at least two dependent lower-level listeners, maintaining identity information of each dependent lower-level listener in association with the async task, and preventing the cancellation of one listener from cancelling the async task as long as at least one listener remains dependent on the async task, based upon the identity information.
地址 New York NY US