HOPS
HOPS class reference
Functions
wait_for_write_lock.c File Reference
#include <sys/types.h>
#include <sys/time.h>
#include <stdio.h>
#include <string.h>
#include <dirent.h>
#include <unistd.h>
#include "fileset.h"
#include "msg.h"
#include "write_lock_mechanism.h"

Functions

int at_front (char *rootname, char *lockfile_name, int cand_seq_no)
 
int wait_for_write_lock (char *rootname, char *lockfile_name, struct fileset *fset)
 

Function Documentation

◆ at_front()

int at_front ( char *  rootname,
char *  lockfile_name,
int  cand_seq_no 
)

◆ wait_for_write_lock()

int wait_for_write_lock ( char *  rootname,
char *  lockfile_name,
struct fileset fset 
)