Public Member Functions | |
ZYppGlobalLock () | |
~ZYppGlobalLock () | |
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) |
pid_t | lockerPid () |
Private Attributes | |
FILE * | _zypp_lockfile |
Definition at line 59 of file ZYppFactory.cc.
|
Definition at line 63 of file ZYppFactory.cc. |
|
Definition at line 68 of file ZYppFactory.cc. References _clean_lock, _zypp_lockfile, closeLockFile(), ERR, MIL, zypp::filesystem::unlink(), unLockFile(), and ZYPP_LOCK_FILE. |
|
Definition at line 97 of file ZYppFactory.cc. References _zypp_lockfile, zypp::filesystem::Pathname::asString(), ZYPP_LOCK_FILE, and ZYPP_THROW. Referenced by createLockFile(), and zyppLocked(). |
|
Definition at line 105 of file ZYppFactory.cc. References _zypp_lockfile. Referenced by createLockFile(), and ~ZYppGlobalLock(). |
|
Definition at line 110 of file ZYppFactory.cc. References _zypp_lockfile, MIL, and ZYPP_THROW. Referenced by zyppLocked(). |
|
Definition at line 120 of file ZYppFactory.cc. References _zypp_lockfile, MIL, and ZYPP_THROW. Referenced by createLockFile(). |
|
Definition at line 131 of file ZYppFactory.cc. References _zypp_lockfile, MIL, and ZYPP_THROW. Referenced by createLockFile(), and ~ZYppGlobalLock(). |
|
Definition at line 142 of file ZYppFactory.cc. References ZYPP_LOCK_FILE. Referenced by zyppLocked(). |
|
Definition at line 150 of file ZYppFactory.cc. References _zypp_lockfile, closeLockFile(), exLockFile(), MIL, openLockFile(), and unLockFile(). Referenced by zyppLocked(). |
|
Definition at line 162 of file ZYppFactory.cc. References MIL. Referenced by zyppLocked(). |
|
Definition at line 173 of file ZYppFactory.cc. References _zypp_lockfile, MIL, and ZYPP_LOCK_FILE. Referenced by zyppLocked(). |
|
Definition at line 187 of file ZYppFactory.cc. References createLockFile(), ERR, isProcessRunning(), lockerPid(), lockFileExists(), MIL, openLockFile(), shLockFile(), zypp::filesystem::unlink(), and ZYPP_LOCK_FILE. Referenced by zypp::ZYppFactory::getZYpp(). |
|
Definition at line 92 of file ZYppFactory.cc. Referenced by zypp::ZYppFactory::getZYpp(), and ~ZYppGlobalLock(). |
|
Definition at line 95 of file ZYppFactory.cc. Referenced by closeLockFile(), createLockFile(), exLockFile(), lockerPid(), openLockFile(), shLockFile(), unLockFile(), and ~ZYppGlobalLock(). |