CANCELLATION OF CONCURRENT WORKER OBJECTS
First Claim
Patent Images
1. A method of performing a cancellation of concurrent worker objects, the method comprising:
- creating a plurality of concurrent worker objects with a manager object;
generating at least one cancellation object with the manager object, the at least one cancellation object including a cancel method and a register method that support concurrent calls;
registering a callback function by calling the register method with one of the concurrent worker objects;
requesting a cancellation of the concurrent worker objects by calling the cancel method with the manager object; and
wherein the creating, generating, registering, and performing are performed by at least one processor.
2 Assignments
0 Petitions
Accused Products
Abstract
A method of performing a cancellation of concurrent worker objects includes creating a plurality of concurrent worker objects with a manager object. At least one cancellation object is generated with the manager object. The at least one cancellation object includes a cancel method and a register method that support concurrent calls. A callback function is registered by calling the register method with one of the concurrent worker objects. A cancellation of the concurrent worker objects is requested by calling the cancel method with the manager object.
14 Citations
20 Claims
-
1. A method of performing a cancellation of concurrent worker objects, the method comprising:
-
creating a plurality of concurrent worker objects with a manager object; generating at least one cancellation object with the manager object, the at least one cancellation object including a cancel method and a register method that support concurrent calls; registering a callback function by calling the register method with one of the concurrent worker objects; requesting a cancellation of the concurrent worker objects by calling the cancel method with the manager object; and wherein the creating, generating, registering, and performing are performed by at least one processor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer-readable storage medium storing computer-executable instructions that when executed by at least one processor cause the at least one processor to perform a method of performing a cancellation of concurrent worker objects, the method comprising:
-
creating a plurality of concurrent worker objects with a manager object; generating at least one cancellation object with the manager object, the at least one cancellation object including a cancel method, a register method, and a deregister method, which support concurrent calls; registering a callback function by calling the register method with one of the concurrent worker objects; and performing a cancellation of the concurrent worker objects by calling the cancel method with the manager object. - View Dependent Claims (16, 17, 18, 19)
-
-
20. A method of performing a cancellation of concurrent worker objects, the method comprising:
-
creating a plurality of concurrent worker objects with a manager object; generating a cancellation token source object with the manager object, the cancellation token source object including a cancel method and a get token method; calling the get token method with the manager object, thereby creating a cancellation token object; monitoring the cancellation token object for a cancellation request with each of the concurrent worker objects; performing a cancellation of the concurrent worker objects by calling the cancel method with the manager object; and wherein the creating, generating, calling, monitoring, and performing are performed by at least one processor.
-
Specification