The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Apr. 04, 2017

Filed:

Sep. 10, 2015
Applicant:

International Business Machines Corporation, Armonk, NY (US);

Inventors:

Mario F. Acedo, Tucson, AZ (US);

Ezequiel Cervantes, Tucson, AZ (US);

Paul A. Jennas, II, Tucson, AZ (US);

Jason L. Peipelman, Vail, AZ (US);

Matthew J. Ward, Vail, AZ (US);

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/44 (2006.01); G06F 9/48 (2006.01); G06F 9/445 (2006.01);
U.S. Cl.
CPC ...
G06F 9/48 (2013.01); G06F 9/445 (2013.01);
Abstract

A method for singleton process control in a computer environment is provided. A process identification (PID) for a background process is stored in a first temporary file. A determination operation is performed for determining if the parent process is alive for a predetermined number of tries. The PID of the background process is written from the first temporary file into a first PID variable when the parent process ends. A determination operation is performed for determining whether a second, global temporary file is empty. The background process is exited if an active PID is determined to exist in a second, global temporary file. The PID from the first temporary file is stored into the second, global temporary file. A singleton code block is then executed.


Find Patent Forward Citations

Loading…