×

METHOD FOR SINGLETON PROCESS CONTROL

  • US 20160004560A1
  • Filed: 09/10/2015
  • Published: 01/07/2016
  • Est. Priority Date: 01/21/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method for singleton process control in a computer environment, comprising:

  • storing a process identification (PID) of a last spawned process for a background process in a first temporary file, the PID stored by a parent process, and subsequently accessed by the background process that is initialized;

    determining if the parent process is alive for a predetermined number of tries, wherein a PID of the background process is written from the first temporary file into a first PID variable when the parent process ends;

    determining whether a second, global temporary file is empty, wherein;

    if the global temporary file is empty;

    commencing for a first time an associated program with the PID of the background process if a second, global temporary file is empty, andstoring the PID of the background process from the first temporary file into the second, global temporary file; and

    writing the existing PID to a second PID variable.

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