Public Member Functions | |
| ZYppGlobalLock () | |
| ~ZYppGlobalLock () | |
| pid_t | locker_pid () 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) |
| pid_t | lockerPid () |
Private Attributes | |
| FILE * | _zypp_lockfile |
| pid_t | _locker_pid |
Definition at line 59 of file ZYppFactory.cc.
|
|
Definition at line 63 of file ZYppFactory.cc. |
|
|
Definition at line 69 of file ZYppFactory.cc. References _clean_lock, _zypp_lockfile, closeLockFile(), ERR, MIL, zypp::filesystem::unlink(), unLockFile(), and ZYPP_LOCK_FILE. |
|
|
Definition at line 93 of file ZYppFactory.cc. References _locker_pid. Referenced by zypp::ZYppFactory::getZYpp(), lockerPid(), and zyppLocked(). |
|
|
Definition at line 101 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 109 of file ZYppFactory.cc. References _zypp_lockfile. Referenced by createLockFile(), and ~ZYppGlobalLock(). |
|
|
Definition at line 114 of file ZYppFactory.cc. References _zypp_lockfile, MIL, and ZYPP_THROW. Referenced by zyppLocked(). |
|
|
Definition at line 124 of file ZYppFactory.cc. References _zypp_lockfile, MIL, and ZYPP_THROW. Referenced by createLockFile(). |
|
|
Definition at line 135 of file ZYppFactory.cc. References _zypp_lockfile, MIL, and ZYPP_THROW. Referenced by createLockFile(), and ~ZYppGlobalLock(). |
|
|
Definition at line 146 of file ZYppFactory.cc. References ZYPP_LOCK_FILE. Referenced by zyppLocked(). |
|
|
Definition at line 154 of file ZYppFactory.cc. References _zypp_lockfile, closeLockFile(), exLockFile(), MIL, openLockFile(), and unLockFile(). Referenced by zyppLocked(). |
|
|
Definition at line 166 of file ZYppFactory.cc. References MIL. Referenced by zyppLocked(). |
|
|
Definition at line 177 of file ZYppFactory.cc. References _zypp_lockfile, locker_pid(), MIL, and ZYPP_LOCK_FILE. Referenced by zyppLocked(). |
|
|
Definition at line 191 of file ZYppFactory.cc. References _locker_pid, createLockFile(), ERR, isProcessRunning(), locker_pid(), lockerPid(), lockFileExists(), MIL, openLockFile(), shLockFile(), zypp::filesystem::unlink(), and ZYPP_LOCK_FILE. Referenced by zypp::ZYppFactory::getZYpp(). |
|
|
Definition at line 95 of file ZYppFactory.cc. Referenced by zypp::ZYppFactory::getZYpp(), and ~ZYppGlobalLock(). |
|
|
Definition at line 98 of file ZYppFactory.cc. Referenced by closeLockFile(), createLockFile(), exLockFile(), lockerPid(), openLockFile(), shLockFile(), unLockFile(), and ~ZYppGlobalLock(). |
|
|
Definition at line 99 of file ZYppFactory.cc. Referenced by locker_pid(), and zyppLocked(). |
1.4.6