Proposal: libsmbclient API

simo idra at samba.org
Tue Mar 31 19:45:27 GMT 2009


On Tue, 2009-03-31 at 12:13 -0700, Jeremy Allison wrote:
> On Tue, Mar 31, 2009 at 08:24:27PM +0200, Volker Lendecke wrote:
> > 
> > Just a stupid question: Are there pthreads implementations
> > around that do not guarantee a thread-specific errno? Asked
> > in a different way: Does the pthreads spec not mandate this?
> > You can hardly program efficiently without that.
> 
> Yes, I'm pretty sure pthreads mantates thread-specific errno.
> errno isn't the problem, access of our global state is :-).

If the global state is not public tho it is much easier to have
per-thread variables in there.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the samba-technical mailing list