Our broken global lock.
More...
Our broken global lock.
Definition at line 91 of file ZYppFactory.cc.
zypp::ZYppGlobalLock::ZYppGlobalLock |
( |
| ) |
|
|
inline |
zypp::ZYppGlobalLock::~ZYppGlobalLock |
( |
| ) |
|
|
inline |
pid_t zypp::ZYppGlobalLock::lockerPid |
( |
| ) |
const |
|
inline |
const std::string& zypp::ZYppGlobalLock::lockerName |
( |
| ) |
const |
|
inline |
const Pathname& zypp::ZYppGlobalLock::zyppLockFilePath |
( |
| ) |
const |
|
inline |
void zypp::ZYppGlobalLock::_openLockFile |
( |
| ) |
|
|
inlineprivate |
void zypp::ZYppGlobalLock::_closeLockFile |
( |
| ) |
|
|
inlineprivate |
bool zypp::ZYppGlobalLock::isProcessRunning |
( |
pid_t |
pid_r | ) |
|
|
inlineprivate |
pid_t zypp::ZYppGlobalLock::readLockFile |
( |
| ) |
|
|
inlineprivate |
void zypp::ZYppGlobalLock::writeLockFile |
( |
| ) |
|
|
inlineprivate |
bool zypp::ZYppGlobalLock::zyppLocked |
( |
| ) |
|
|
inline |
Try to aquire a lock.
- Returns
true
if zypp is already locked by another process.
Definition at line 241 of file ZYppFactory.cc.
Pathname zypp::ZYppGlobalLock::_zyppLockFilePath |
|
private |
file_lock zypp::ZYppGlobalLock::_zyppLockFileLock |
|
private |
FILE* zypp::ZYppGlobalLock::_zyppLockFile |
|
private |
pid_t zypp::ZYppGlobalLock::_lockerPid |
|
private |
std::string zypp::ZYppGlobalLock::_lockerName |
|
private |
bool zypp::ZYppGlobalLock::_cleanLock |
|
private |
The documentation for this class was generated from the following file: