Patent ID: 7743377
Filing Date: 2010-06-22
Classification: G06F

Abstract:
1. A computer-implemented method for cooperative threading in an abstracted managed code execution environment, comprising: a) scanning, by at least one processor, a list of eligible activation records linked to a plurality of threads of a process, wherein the eligible activation records are stacked in order of execution priority, and wherein each activation record represents at least a state of one of the plurality of threads, the state including an identity of a function being called by the corresponding thread and a priority level; b) executing one of the activation records associated with a highest priority level; c) creating a new activation record for a new method invoked for the executing activation record, wherein the new activation record is not executed recursively; d) linking the new activation record to the list of eligible activation records; and e) repeating steps a)-d) for one or more other activation records in the list based on the priority level.