HOPS
HOPS class reference
|
#include <csignal>
#include <cstdlib>
#include <unistd.h>
#include "MHO_DirectoryInterface.hh"
#include "MHO_Tokenizer.hh"
Go to the source code of this file.
Classes | |
struct | hops::lockfile_data |
struct lockfile_data - struct for holding data about the lock file's creation More... | |
class | hops::MHO_LockFileHandler |
Class MHO_LockFileHandler uses the singleton pattern. More... | |
Namespaces | |
hops | |
Macros | |
#define | LOCK_FILE_ERROR -4 |
#define | LOCK_FILESET_FAIL -6 |
#define | LOCK_PARSE_ERROR -2 |
#define | LOCK_PROCESS_HAS_PRIORITY 1 |
#define | LOCK_PROCESS_NO_PRIORITY -1 |
#define | LOCK_STALE_ERROR -3 |
#define | LOCK_STATUS_OK 0 |
#define | LOCK_TIMEOUT_ERROR -5 |
#define | MAX_LOCKNAME_LEN 512 |
struct hops::lockfile_data |
struct lockfile_data - struct for holding data about the lock file's creation
Class Members | ||
---|---|---|
char | active_directory[MAX_LOCKNAME_LEN] | |
char | hostname[256] | |
char | lockfile_name[MAX_LOCKNAME_LEN] | |
unsigned int | pid | |
unsigned int | seq_number | |
unsigned long int | time_sec | |
unsigned long int | time_usec | |
int | validity |
#define LOCK_FILE_ERROR -4 |
#define LOCK_FILESET_FAIL -6 |
#define LOCK_PARSE_ERROR -2 |
#define LOCK_PROCESS_HAS_PRIORITY 1 |
#define LOCK_PROCESS_NO_PRIORITY -1 |
#define LOCK_STALE_ERROR -3 |
#define LOCK_STATUS_OK 0 |
#define LOCK_TIMEOUT_ERROR -5 |
#define MAX_LOCKNAME_LEN 512 |