|
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 XrdFrmXLock::Init().
| int XrdOucSxeq::lastError | ( | ) | [inline] |
References lokRC.
Referenced by XrdCnsSsi::Updt().
| int XrdOucSxeq::Release | ( | ) |
| int XrdOucSxeq::Serialize | ( | int | Opts = 0 | ) |
References fcntl(), FLOCK_t, lokFD, lokRC, lokUL, noWait, Share, and Unlink.
Referenced by XrdFrmTransfer::ThrowOK(), XrdCnsSsi::Updt(), XrdFrmXLock::XrdFrmXLock(), and XrdOucSxeq().
| int XrdOucSxeq::Serialize | ( | int | fileD, |
| int | Opts | ||
| ) | [static] |
const int XrdOucSxeq::Lock = 0x0008 [static] |
int XrdOucSxeq::lokFD [private] |
Referenced by Detach(), Release(), Serialize(), XrdOucSxeq(), and ~XrdOucSxeq().
char* XrdOucSxeq::lokFN [private] |
Referenced by XrdOucSxeq(), and ~XrdOucSxeq().
int XrdOucSxeq::lokRC [private] |
Referenced by lastError(), Release(), Serialize(), and XrdOucSxeq().
int XrdOucSxeq::lokUL [private] |
Referenced by Release(), Serialize(), XrdOucSxeq(), and ~XrdOucSxeq().
const int XrdOucSxeq::noWait = 0x0001 [static] |
Referenced by Serialize(), XrdFrmTransfer::ThrowOK(), and XrdCnsSsi::Updt().
const int XrdOucSxeq::Share = 0x0002 [static] |
Referenced by Serialize().
const int XrdOucSxeq::Unlink = 0x0004 [static] |
Referenced by Serialize(), and XrdCnsSsi::Updt().
1.7.3