libzypp
17.25.8
|
Attempts to create a lock to prevent the system from going into hibernate/shutdown. More...
#include <ShutdownLock_p.h>
Public Member Functions | |
ShutdownLock (const std::string &reason) | |
~ShutdownLock () | |
Private Attributes | |
shared_ptr< ExternalProgramWithSeperatePgid > | _prog |
Attempts to create a lock to prevent the system from going into hibernate/shutdown.
The lock is automatically released when the object is destroyed.
Definition at line 31 of file ShutdownLock_p.h.
zypp::ShutdownLock::ShutdownLock | ( | const std::string & | reason | ) |
Definition at line 6 of file ShutdownLock.cc.
zypp::ShutdownLock::~ShutdownLock | ( | ) |
Definition at line 27 of file ShutdownLock.cc.
|
private |
Definition at line 38 of file ShutdownLock_p.h.