1 #ifndef ZYPP_BASE_EVENTDISPATCHER_GLIB_P_DEFINED 2 #define ZYPP_BASE_EVENTDISPATCHER_GLIB_P_DEFINED 8 #include <unordered_map> 17 gpointer
tag =
nullptr;
72 GMainContext *
_ctx =
nullptr;
std::vector< std::shared_ptr< void > > _unrefLater
std::vector< GAbstractEventSource * > _eventSources
static void destruct(GAbstractEventSource *src)
EventDispatcherPrivate(GMainContext *ctx)
static gboolean check(GSource *source)
static GLibTimerSource * create()
static void destruct(GLibTimerSource *src)
The Timer class provides repetitive and single-shot timers.
std::vector< GLibTimerSource * > _runningTimers
EventDispatcherPrivate * _ev
static gboolean prepare(GSource *, gint *timeout)
std::vector< GUnixPollFD > pollfds
std::queue< EventDispatcher::IdleFunction > _idleFuncs
static gboolean dispatch(GSource *source, GSourceFunc, gpointer)
static gboolean prepare(GSource *src, gint *timeout)
static GAbstractEventSource * create(EventDispatcherPrivate *ev)
AbstractEventSource * eventSource
#define ZYPP_DECLARE_PUBLIC(Class)
virtual ~EventDispatcherPrivate()
static gboolean dispatch(GSource *source, GSourceFunc, gpointer)
static gboolean check(GSource *source)
std::thread::id _myThreadId