Patent ID: 8959517
Filing Date: 2015-02-17
Classification: G06F

Abstract:
1. A computer readable storage medium, which is not a transitory propagating signal, storing computer-executable instructions that, when executed by a scheduler operating in a process of a computer system, perform a method comprising: scheduling tasks of a first task group for concurrent execution by multiple execution contexts on allocated processing resources of the computer system; identifying a first execution context to be bound to the first task group; binding the first execution context to the first task group; setting a cancel indicator in the first task group to identify the first task group as the task group to be cancelled by one of the multiple execution contexts other than the first execution context or an asynchronous error state; setting a cancel indicator in each of the multiple execution contexts that is executing tasks corresponding to the first task group, wherein execution contexts executing tasks corresponding to the first task group include: maintaining a list in one of the first execution context and the first task group, the list is of execution contexts that stole tasks from the first task group bound to the first execution context; and after the identifying and setting, cancelling tasks in the first task group executing in each of the multiple execution contexts having its cancel indicator set including cancelling tasks in the first task group executing in the first execution context and any additional task groups created by a first one of the tasks of the first task group executing in the first execution context.