×

LOCALITY-BASED SCHEDULING IN CONTINUATION-BASED RUNTIMES

  • US 20100306778A1
  • Filed: 05/26/2009
  • Published: 12/02/2010
  • Est. Priority Date: 05/26/2009
  • Status: Active Grant
First Claim
Patent Images

1. At a computer system including a processor and a memory, in a computer networking environment including a plurality of computing systems, a computer-implemented method for establishing an execution environment for executing activities in a continuation based runtime, the method comprising:

  • an act of establishing an execution environment for executing activities in a continuation based runtime (CBR), wherein establishing the execution environment comprises instantiating an activity scheduler configured to perform the following;

    an act of scheduling one or more activities for execution in the CBR, wherein each scheduled activity is associated with at least one work item and unique context information corresponding to the work item, the scheduling including adding the activity'"'"'s work items to an execution stack and tracking pending activity work items to determine when the scheduled activity has reached at least one of a plurality of completed states;

    an act of resolving the scheduled activity'"'"'s arguments and variables prior to invoking the scheduled activity using the activity'"'"'s unique context; and

    an act of determining, based on the activity'"'"'s unique context, if the scheduled activity comprises at least one work item that is to be queued at the top of the execution stack; and

    based on the determination, an act of queuing the at least one work item to the execution stack; and

    an act of executing the work items of the scheduled activity as queued in the execution stack of the established execution environment in the CBR.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×