libzypp 17.37.17
|
Classes | |
class | ZYppImpl |
Functions | |
std::ostream & | operator<< (std::ostream &str, const ZYppImpl &obj) |
int | zypp_poll (std::vector< GPollFD > &fds, int timeout=-1) |
Small wrapper around g_poll that additionally listens to the shutdown FD returned by ZYpp::shutdownSignalFd. | |
std::ostream & | operator<< (std::ostream &str, const ZYppImpl &obj) |
Stream output. |
|
Definition at line 318 of file ZYppImpl.cc.
int zypp::zypp_detail::zypp_poll | ( | std::vector< GPollFD > & | fds, |
int | timeout = -1 ) |
Small wrapper around g_poll that additionally listens to the shutdown FD returned by ZYpp::shutdownSignalFd.
EINTR is handled internally, no need to explicitely handle it.
For zyppng related code we should use different means to cancel processes, e.g via the top level event loop
zypp::UserAbortException | in case the shutdown signal was received |
Definition at line 323 of file ZYppImpl.cc.