xrootd
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes | List of all members
XrdOucSxeq Class Reference

#include <XrdOucSxeq.hh>

Public Member Functions

int Detach ()
 
int Release ()
 
int Serialize (int Opts=0)
 
int lastError ()
 
 XrdOucSxeq (int sOpts, const char *path)
 
 XrdOucSxeq (const char *sfx, const char *sfx1=0, const char *Dir="/tmp/")
 
 ~XrdOucSxeq ()
 

Static Public Member Functions

static int Release (int fileD)
 
static int Serialize (int fileD, int Opts)
 

Static Public Attributes

static const int noWait = 0x0001
 
static const int Share = 0x0002
 
static const int Unlink = 0x0004
 
static const int Lock = 0x0008
 

Private Attributes

char * lokFN
 
int lokFD
 
int lokUL
 
int lokRC
 

Constructor & Destructor Documentation

XrdOucSxeq::XrdOucSxeq ( int  sOpts,
const char *  path 
)

References lokFD, lokFN, lokRC, lokUL, open(), and Serialize().

XrdOucSxeq::XrdOucSxeq ( const char *  sfx,
const char *  sfx1 = 0,
const char *  Dir = "/tmp/" 
)

References lokFD, lokFN, lokRC, lokUL, and open().

XrdOucSxeq::~XrdOucSxeq ( )

References close(), lokFD, lokFN, lokUL, and unlink().

Member Function Documentation

int XrdOucSxeq::Detach ( )
inline

References lokFD.

Referenced by XrdFrcXLock::Init().

int XrdOucSxeq::lastError ( )
inline

References lokRC.

Referenced by XrdCnsSsi::Updt().

int XrdOucSxeq::Release ( )
int XrdOucSxeq::Release ( int  fileD)
static

References fcntl(), and FLOCK_t.

int XrdOucSxeq::Serialize ( int  Opts = 0)
int XrdOucSxeq::Serialize ( int  fileD,
int  Opts 
)
static

References fcntl(), FLOCK_t, noWait, and Share.

Member Data Documentation

const int XrdOucSxeq::Lock = 0x0008
static
int XrdOucSxeq::lokFD
private
char* XrdOucSxeq::lokFN
private

Referenced by XrdOucSxeq(), and ~XrdOucSxeq().

int XrdOucSxeq::lokRC
private
int XrdOucSxeq::lokUL
private
const int XrdOucSxeq::noWait = 0x0001
static
const int XrdOucSxeq::Share = 0x0002
static

Referenced by Serialize().

const int XrdOucSxeq::Unlink = 0x0004
static

Referenced by Serialize(), and XrdCnsSsi::Updt().


The documentation for this class was generated from the following files: