×

Preemptive operating system without context switching

  • US 9,910,701 B2
  • Filed: 01/27/2016
  • Issued: 03/06/2018
  • Est. Priority Date: 12/30/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer program product tangibly stored on a computer readable hardware storage device, the computer program product for managing constrained computing devices, the computer program product comprising instructions to cause a processor to:

  • schedule user-defined independently executable functions to execute from a single stack common to all user-defined independently executable functions by the processor according to availability and priority of the user-defined independently executable functions relative to other user-defined independently executable functions, with the instructions to schedule further causing the processor to;

    identify a particular user-defined independently executable function as ready to run, which user-defined independently executable functions is of higher priority than a user-defined independently executable function currently running;

    preempt the currently running user-defined independently executable function by the instructions placing the particular user-defined independently executable function on the single stack that has register values for the currently running user-defined independently executable function, pushing down the state data of the currently running user-defined independently executable function lower in the stack;

    execute the particular user-defined independently executable function; and

    pop from the stack, all of the stack usage of the particular user-defined independently executable function, after execution of the particular user-defined independently executable function, and when the particular user-defined independently executable function completes running and returns, the preempted currently running function resumes running.

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