libzypp
10.5.0
|
Public Member Functions | |
ZYppGlobalLock () | |
~ZYppGlobalLock () | |
pid_t | locker_pid () const |
const std::string & | locker_name () const |
bool | zyppLocked () |
Public Attributes | |
bool | _clean_lock |
Private Member Functions | |
void | openLockFile (const char *mode) |
void | closeLockFile () |
void | shLockFile () |
void | exLockFile () |
void | unLockFile () |
bool | lockFileExists () |
void | createLockFile () |
bool | isProcessRunning (pid_t pid_r) |
pid_t | lockerPid () |
Private Attributes | |
Pathname | _zyppLockFilePath |
FILE * | _zypp_lockfile |
pid_t | _locker_pid |
std::string | _locker_name |
Definition at line 63 of file ZYppFactory.cc.
zypp::ZYppGlobalLock::ZYppGlobalLock | ( | ) | [inline] |
Definition at line 67 of file ZYppFactory.cc.
zypp::ZYppGlobalLock::~ZYppGlobalLock | ( | ) | [inline] |
Definition at line 76 of file ZYppFactory.cc.
pid_t zypp::ZYppGlobalLock::locker_pid | ( | ) | const [inline] |
Definition at line 99 of file ZYppFactory.cc.
const std::string& zypp::ZYppGlobalLock::locker_name | ( | ) | const [inline] |
Definition at line 102 of file ZYppFactory.cc.
void zypp::ZYppGlobalLock::openLockFile | ( | const char * | mode | ) | [inline, private] |
Definition at line 114 of file ZYppFactory.cc.
void zypp::ZYppGlobalLock::closeLockFile | ( | ) | [inline, private] |
Definition at line 122 of file ZYppFactory.cc.
void zypp::ZYppGlobalLock::shLockFile | ( | ) | [inline, private] |
Definition at line 127 of file ZYppFactory.cc.
void zypp::ZYppGlobalLock::exLockFile | ( | ) | [inline, private] |
Definition at line 137 of file ZYppFactory.cc.
void zypp::ZYppGlobalLock::unLockFile | ( | ) | [inline, private] |
Definition at line 148 of file ZYppFactory.cc.
bool zypp::ZYppGlobalLock::lockFileExists | ( | ) | [inline, private] |
Definition at line 159 of file ZYppFactory.cc.
void zypp::ZYppGlobalLock::createLockFile | ( | ) | [inline, private] |
Definition at line 167 of file ZYppFactory.cc.
bool zypp::ZYppGlobalLock::isProcessRunning | ( | pid_t | pid_r | ) | [inline, private] |
Definition at line 179 of file ZYppFactory.cc.
pid_t zypp::ZYppGlobalLock::lockerPid | ( | ) | [inline, private] |
Definition at line 206 of file ZYppFactory.cc.
bool zypp::ZYppGlobalLock::zyppLocked | ( | ) | [inline] |
Definition at line 220 of file ZYppFactory.cc.
Definition at line 106 of file ZYppFactory.cc.
Pathname zypp::ZYppGlobalLock::_zyppLockFilePath [private] |
Definition at line 109 of file ZYppFactory.cc.
FILE* zypp::ZYppGlobalLock::_zypp_lockfile [private] |
Definition at line 110 of file ZYppFactory.cc.
pid_t zypp::ZYppGlobalLock::_locker_pid [private] |
Definition at line 111 of file ZYppFactory.cc.
std::string zypp::ZYppGlobalLock::_locker_name [private] |
Definition at line 112 of file ZYppFactory.cc.