[RFC] [WIP] tevent/glib integration

Ralph Boehme rb at sernet.de
Mon Jan 25 16:49:30 UTC 2016


On Sat, Jan 23, 2016 at 07:50:21PM +0100, Ralph Boehme wrote:
> Hi Noel,
> 
> On Fri, Jan 22, 2016 at 04:14:16PM +0000, Noel Power wrote:
> > On 22/01/16 15:56, Ralph Boehme wrote:
> > > The ugly:
> > > - doesn't work yet :)
> 
> it works now.

updated the branch. Two changes:

- cache tevent_fds

- run g_main_context_check/g_main_context_dispatch in a loop until
  g_main_context_check returns false

With these changes the test binary completes as fast with the tevent
glue as with the native glib loop. :)

-Ralph

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de



More information about the samba-technical mailing list