2 #include <zypp-core/zyppng/base/EventDispatcher> 16 d->_loop = g_main_loop_new( reinterpret_cast<GMainContext*>(d->_dispatcher->nativeDispatcherHandle()),
false );
21 g_main_loop_unref( d_func()->_loop );
32 g_main_context_push_thread_default( reinterpret_cast<GMainContext*>(d->_dispatcher->nativeDispatcherHandle()) );
33 g_main_loop_run( d->_loop );
34 d->_dispatcher->clearUnrefLaterList();
35 g_main_context_pop_thread_default( reinterpret_cast<GMainContext*>(d->_dispatcher->nativeDispatcherHandle()) );
40 g_main_loop_quit( d_func()->_loop );
45 return d_func()->_dispatcher;
std::shared_ptr< EventDispatcher > eventDispatcher() const
static ThreadData & current()
std::shared_ptr< EventDispatcher > ensureDispatcher()
ZYPP_IMPL_PRIVATE(UnixSignalSource)
EventLoopPrivate(EventLoop &p)