EPICS ARCHIVER V4
|
Lock file. More...
#include <Lockfile.h>
Public Member Functions | |
Lockfile (const char *filename, const char *program) | |
Try to generate lock file. More... | |
~Lockfile () | |
Remove lockfile. | |
Lock file.
Generate a lock file containing the generation time. Meant as a portable way to prevent multiple instances of a program to run, also gives evidence of a non-graceful exit.
Lockfile::Lockfile | ( | const char * | filename, |
const char * | program | ||
) |
Try to generate lock file.
GenericException |