[RFC] [WIP] tevent/glib integration

Ralph Boehme rb at sernet.de
Sat Jan 23 18:50:21 UTC 2016


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.

> > This version keeps the context locked most of the time, just briely
> > unlocking it and specific points to give other threads a chance to use
> > the context.
> so, I haven't looked at the code so I don't know if this is relevant but
> I tried splitting unlocking/locking the glib_context over the
> {prepare,query.check.dispatch} phases and it didn't play well with the
> performance vrs acquiring the context at the start and releasing it
> after the dispatch. Maybe we are talking about different things or maybe
> I made some mistake when I tried this, just putting out there just in case

the context is kept locked across prepare,query,check and dispatch.

-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