×

Techniques for switching threads within routines

  • US 10,007,551 B2
  • Filed: 10/21/2013
  • Issued: 06/26/2018
  • Est. Priority Date: 10/25/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • executing an initial portion of a routine on an initial thread;

    processing a first return statement that is a yield statement, the processing of the first return statement causing the routine to temporarily exit the routine at an end point of the initial portion;

    identifying a subsequent thread different than the initial thread via a subsequent thread identifier included in the return statement, the return statement provided in response to the processing of the initial portion; and

    performing a subsequent execution of the routine on the subsequent thread via the first return statement, the subsequent execution executing a subsequent portion of the routine from the end point of the initial portion.

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