![]() |
XRootD
|
#include <XrdOucSxeq.hh>
Public Member Functions | |
XrdOucSxeq (const char *sfx, const char *sfx1=0, const char *Dir="/tmp/") | |
XrdOucSxeq (int sOpts, const char *path) | |
~XrdOucSxeq () | |
int | Detach () |
int | lastError () |
int | Release () |
int | Serialize (int Opts=0) |
Static Public Member Functions | |
static int | Release (int fileD) |
static int | Serialize (int fileD, int Opts) |
Static Public Attributes | |
static const int | Lock = 0x0008 |
static const int | noWait = 0x0001 |
static const int | Share = 0x0002 |
static const int | Unlink = 0x0004 |
Definition at line 33 of file XrdOucSxeq.hh.
XrdOucSxeq::XrdOucSxeq | ( | int | sOpts, |
const char * | path | ||
) |
Definition at line 48 of file XrdOucSxeq.cc.
References open(), and Serialize().
XrdOucSxeq::XrdOucSxeq | ( | const char * | sfx, |
const char * | sfx1 = 0 , |
||
const char * | Dir = "/tmp/" |
||
) |
XrdOucSxeq::~XrdOucSxeq | ( | ) |
Definition at line 89 of file XrdOucSxeq.cc.
References close, and unlink().
|
inline |
Definition at line 42 of file XrdOucSxeq.hh.
Referenced by XrdFrcXLock::Init().
|
inline |
Definition at line 54 of file XrdOucSxeq.hh.
int XrdOucSxeq::Release | ( | ) |
Definition at line 106 of file XrdOucSxeq.cc.
References fcntl(), and FLOCK_t.
Referenced by XrdFrcXLock::~XrdFrcXLock().
|
static |
Definition at line 137 of file XrdOucSxeq.cc.
References fcntl(), and FLOCK_t.
|
static |
int XrdOucSxeq::Serialize | ( | int | Opts = 0 | ) |
Definition at line 165 of file XrdOucSxeq.cc.
References fcntl(), FLOCK_t, noWait, XrdMpx::Opts, Share, and Unlink.
Referenced by XrdFrcXLock::XrdFrcXLock(), and XrdOucSxeq().
|
static |
Definition at line 40 of file XrdOucSxeq.hh.
|
static |
Definition at line 37 of file XrdOucSxeq.hh.
Referenced by Serialize().
|
static |
Definition at line 38 of file XrdOucSxeq.hh.
Referenced by Serialize().
|
static |
Definition at line 39 of file XrdOucSxeq.hh.
Referenced by Serialize().