×

Method and system for implementing an interrupt handler

  • US 7,743,384 B2
  • Filed: 07/26/2005
  • Issued: 06/22/2010
  • Est. Priority Date: 07/27/2004
  • Status: Active Grant
First Claim
Patent Images

1. A computer system, comprisinga Java execution flow class that represents an execution flow context, the execution flow class defining a first execution flow execution method and a constructor that creates an execution flow context;

  • an execution flow scheduler comprising only one Java native execution flow activation method, wherein the execution flow activation method causes a context switch to an execution flow context specified when the execution flow activation method is invoked;

    a Java virtual machine executable on a processor of the computer system; and

    an interrupt handler class that extends the execution flow class, wherein the interrupt handler class defines a handler method for an interrupt and a second execution flow execution method that overrides the first execution flow execution method and comprises one or more instructions to invoke the handler method,whereinan interrupt handler object is instantiated using the interrupt handler class,the constructor creates an execution flow context for the handler method, andwhen the interrupt is signaled, the Java virtual machine invokes the execution flow activation method to switch to the handler execution flow context and invokes the second execution flow execution method to initiate execution of the handler method.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×