×

Method and computer readable medium for providing checkpointing to windows application groups

  • US 8,752,049 B1
  • Filed: 12/15/2008
  • Issued: 06/10/2014
  • Est. Priority Date: 12/15/2008
  • Status: Expired due to Fees
First Claim
Patent Images

1. A non-transitory computer readable medium having computer-executable instructions which, when executed by a processor, cause a processing system to perform a method of checkpointing an application group, the method comprising:

  • loading a checkpoint kernel module and registering a coordinator process with the checkpoint kernel module;

    launching a plurality of independent applications, each including a plurality of threads, as an application group via the coordinator, wherein launching an application via the coordinator causes the launched application to load a user-space checkpoint library;

    wherein an application loading the checkpoint library comprises installing a plurality of function interceptors including at least wait function interceptors which together are configured to intercept system calls made by the threads of the loading application during execution, and, in response to intercepting a system call from a calling thread and determining the coordinator has initiated a group checkpoint, are configured to cause the calling thread to block and wait in an alertable state;

    initiating a group checkpoint of the application group via the coordinator including causing each of the independent applications to perform an application checkpoint, wherein performing an application checkpoint includes sending a kernel-mode checkpoint signal to each thread of the application; and

    responsive to receiving the kernel-mode checkpoint signal, the receiving thread performs steps comprising;

    entering a checkpoint signal handler in the kernel module;

    determining the receiving thread was active in kernel-space at the time the kernel-mode signal was received utilizing kernel attributes directly accessible from the checkpoint signal handler; and

    inserting a user-mode checkpoint signal at the front of a signal queue of the receiving thread and returning from the checkpoint signal handler in response to the determining that the receiving thread was active in kernel-space, wherein a user-mode signal is only processed by a signaled thread when the signaled thread waits in the alertable state, and wherein the user-mode checkpoint signal is configured to cause the thread to enter a user-mode signal handler in the checkpoint library when processed.

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