samba-technical@lists.samba.org
[Top] [All Lists]

Re: Proposal: libsmbclient API

Subject: Re: Proposal: libsmbclient API
From: Jeremy Allison
Date: Tue, 24 Mar 2009 08:25:49 -0700
On Mon, Mar 23, 2009 at 09:16:27AM +1100, Andrew Bartlett wrote:
> On Sat, 2009-03-21 at 09:33 -0700, Jeremy Allison wrote:
> 
> > There's a long way to go yet though, we need to make
> > talloc thread-safe as well, and all the underlying
> > socket and other functions we use (some of the lp_XXX
> > calls for example).
> > 
> > Nice start though but lots more to do :-).
> 
> How does talloc_tos() work with threads?
> 
> Normal talloc would seem fine (as long as NULL tracking is disabled),
> provided the talloc hierarchy follows down from the context variable,
> but I'm rather at a loss as to how talloc_tos() is expected to behave. 

talloc_tos() needs per-thread variables. I'm looking at it....

Jeremy.

<Prev in Thread] Current Thread [Next in Thread>