Patent ID: 9658885
Date: 2017-05-23
CPC Classifications: G05B,G06F

Claim:
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, 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, wherein the listener comprises a listener task including listener task code that performs the listener task, and wrapping the listener task code in cancel-checking code that checks, before the listener task code executes, whether the listener task is intended to be cancelled, and if intended to be cancelled, not allowing at least some of the listener task code to execute.