|
xrootd
|
#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 |
| XrdOucSxeq::XrdOucSxeq | ( | int | sOpts, |
| const char * | path | ||
| ) |
| XrdOucSxeq::XrdOucSxeq | ( | const char * | sfx, |
| const char * | sfx1 = 0, |
||
| const char * | Dir = "/tmp/" |
||
| ) |
| int XrdOucSxeq::Detach | ( | ) | [inline] |
References lokFD.
Referenced by XrdFrcXLock::Init().
| int XrdOucSxeq::lastError | ( | ) | [inline] |
References lokRC.
Referenced by XrdCnsSsi::Updt().
| int XrdOucSxeq::Release | ( | ) |
References FLOCK_t, lokFD, fcntl(), lokRC, and lokUL.
Referenced by XrdFrcXLock::~XrdFrcXLock(), and XrdFrmCns::Send2Cnsd().
| int XrdOucSxeq::Serialize | ( | int | Opts = 0 | ) |
References FLOCK_t, lokFD, Share, noWait, fcntl(), lokRC, Unlink, and lokUL.
Referenced by XrdCnsSsi::Updt(), XrdFrcXLock::XrdFrcXLock(), XrdFrmCns::Send2Cnsd(), XrdFrmTransfer::ThrowOK(), and XrdOucSxeq().
| int XrdOucSxeq::Serialize | ( | int | fileD, |
| int | Opts | ||
| ) | [static] |
const int XrdOucSxeq::Lock = 0x0008 [static] |
int XrdOucSxeq::lokFD [private] |
Referenced by XrdOucSxeq(), ~XrdOucSxeq(), Release(), Serialize(), and Detach().
char* XrdOucSxeq::lokFN [private] |
Referenced by XrdOucSxeq(), and ~XrdOucSxeq().
int XrdOucSxeq::lokRC [private] |
Referenced by XrdOucSxeq(), Release(), Serialize(), and lastError().
int XrdOucSxeq::lokUL [private] |
Referenced by XrdOucSxeq(), ~XrdOucSxeq(), Release(), and Serialize().
const int XrdOucSxeq::noWait = 0x0001 [static] |
Referenced by XrdCnsSsi::Updt(), XrdFrmTransfer::ThrowOK(), and Serialize().
const int XrdOucSxeq::Share = 0x0002 [static] |
Referenced by Serialize().
const int XrdOucSxeq::Unlink = 0x0004 [static] |
Referenced by XrdCnsSsi::Updt(), and Serialize().
1.7.5