[PATCH] tevent glib event loop glue
metze at samba.org
Sat Feb 13 08:38:19 UTC 2016
> Attached is a patchset that adds support for polling a glib
> g_main_context from tevent. Later commits make use of it in the mdsvc
> RPC server.
> The second patch adds a test binary that can be used to run query
> Gnome Tracker either using the native glib event loop or tevent.
> I'm still unsure whether we want this added directly to tevent at this
> early stage, or instead better put it to source3/lib/. It makes no
> difference for Samba internal consumers.
I'd prefer to keep in Samba only for now (as lib/util/tevent_glib_glue.[ch])
and adding a 'samba_' prefix to the public function,so that we won't
if we later also add this to tevent.
This also means that you need to remove #include "tevent_internal.h"
and use <tevent.h> as it might come from the system.
and use DEBUG() instead of tevent_debug(), but still use
#define DBGC_CLASS DBGC_TEVENT
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: OpenPGP digital signature
More information about the samba-technical