[PATCH] libwbclient clear pointer on bad read

Matthew Newton mcn4 at leicester.ac.uk
Thu Jan 15 14:52:24 MST 2015


Hi,

On Thu, Jan 15, 2015 at 12:44:15PM -0800, Jeremy Allison wrote:
> On Thu, Jan 15, 2015 at 09:42:36PM +0100, Volker Lendecke wrote:
> > Yep, sorry for that. I'd think that pthreads will be
> > supported for quite a long time on all the platforms we're
> > interested in. It's gonna be a while before it's replaced by
> > some native C11 successor threading.
> 
> Yep, pthreads have won the war. If I get some time
> I'll redo the thing in terms of the standard interfaces.

I saw that, but couldn't find any examples of how to use it, and I
guess your e-mails just confimed why!

I'm happy to try and work out how to use the abstraction layer if
you'd prefer, though I think you're right that nowadays everyone
basically uses pthreads anyway so it's probably safe to just go
direct.

Is threading used much in Samba? I couldn't find any good examples
anywhere, but maybe I didn't grep hard enough.

Cheers,

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the samba-technical mailing list