Go to the source code of this file.
◆ lockfile_data
Class Members |
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 |
|
◆ LOCK_FILE_ERROR
#define LOCK_FILE_ERROR -4 |
◆ LOCK_FILESET_FAIL
#define LOCK_FILESET_FAIL -6 |
◆ LOCK_INVALID
◆ LOCK_PARSE_ERROR
#define LOCK_PARSE_ERROR -2 |
◆ LOCK_PROCESS_HAS_PRIORITY
#define LOCK_PROCESS_HAS_PRIORITY 1 |
◆ LOCK_PROCESS_NO_PRIORITY
#define LOCK_PROCESS_NO_PRIORITY -1 |
◆ LOCK_STALE_ERROR
#define LOCK_STALE_ERROR -3 |
◆ LOCK_STALE_SEC
#define LOCK_STALE_SEC 300 |
◆ LOCK_STATUS_OK
◆ LOCK_TIMEOUT
#define LOCK_TIMEOUT 9000 |
◆ LOCK_TIMEOUT_ERROR
#define LOCK_TIMEOUT_ERROR -5 |
◆ LOCK_VALID
◆ MAX_LOCKNAME_LEN
#define MAX_LOCKNAME_LEN 512 |
◆ lockfile_data_struct
◆ at_front()
int at_front |
( |
char * |
rootname, |
|
|
char * |
lockfile_name, |
|
|
int |
cand_seq_no |
|
) |
| |
◆ check_stale()
◆ clear_global_lockfile_data()
void clear_global_lockfile_data |
( |
| ) |
|
◆ create_lockfile()
int create_lockfile |
( |
char * |
rootname, |
|
|
char * |
lockfile_name, |
|
|
int |
cand_seq_no |
|
) |
| |
◆ init_lockfile_data()
◆ lock_has_priority()
◆ parse_lockfile_name()
◆ remove_lockfile()
◆ wait_for_write_lock()
int wait_for_write_lock |
( |
char * |
rootname, |
|
|
char * |
lockfile_name, |
|
|
struct fileset * |
fset |
|
) |
| |
◆ global_lockfile_data