Proposal: libsmbclient API

Jeremy Allison jra at samba.org
Tue Mar 24 15:25:49 GMT 2009


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.


More information about the samba-technical mailing list